Read TSMP object from JSON file.

read(x, ...)

Arguments

x

a character string with the input filename.

...

other arguments to be passed forward.

Examples



result <- compute(mp_toy_data$data[, 1], 80)
# \donttest{
tempfile <- file.path(tempdir(), "output.json")
write(result, file = tempfile)
result <- read(tempfile)
# }