| write | R Documentation | 
Write a TSMP object to JSON file.
write(x, ...) ## S3 method for class 'MatrixProfile' write(x, file, ...) ## S3 method for class 'PMP' write(x, file, ...)
x | 
 a   | 
... | 
 other arguments to be passed forward.  | 
file | 
 a   | 
result <- compute(mp_toy_data$data[, 1], 80) write(result, file = file.path(tempdir(), "output.json"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.