docs/functions/save.model.md

save.model

Save a SPEARobject

Description

Save a SPEARobject

Usage

save.model(file = NULL)

Arguments

Argument |Description ------------- |---------------- file | Name and path for the stored SPEARobject. Defaults to NULL, which is (workingdirectory)/SPEARobjectdate

Examples

SPEARobj <- make.SPEARobject(...)

SPEARobj$run.cv.spear()$cv.evaluation()

SPEARobj$save.model(path = getwd(), file = "SPEARmodel.rds")


jgygi/SPEAR documentation built on July 5, 2023, 5:35 p.m.