save.model
Save a SPEARobject
Save a SPEARobject
save.model(file = NULL)
Argument |Description
------------- |----------------
file
| Name and path for the stored SPEARobject. Defaults to NULL, which is (workingdirectory)/SPEARobjectdate
SPEARobj <- make.SPEARobject(...)
SPEARobj$run.cv.spear()$cv.evaluation()
SPEARobj$save.model(path = getwd(), file = "SPEARmodel.rds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.