View source: R/user_load_model.R
| load_model | R Documentation |
load_model() imports an RSTr object with name name in directory dir.
load_model(name, dir = tempdir())
name |
The name of the model to load. |
dir |
The directory in which the model lives. |
An RSTr model object.
data_min <- lapply(miheart, \(x) x[1:2, 1:3, 1:3])
adj_min <- list(2, 1)
on.exit(unlink(file.path(tempdir(), "test"), recursive = TRUE), add = TRUE)
mod_mst <- mstcar("test", data_min, adj_min, tempdir(), show_plots = FALSE, verbose = FALSE)
mod_mst <- load_model(name = "test", dir = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.