The load_model
function (opposed to the write_model
) loads
previous saved DistributionModel
. It is essentially a wrapper to
readRDS
.
When models are loaded, they are briefly checked for their validity and presence of necessary components.
Value
A DistributionModel
object.
Examples
if (FALSE) { # \dontrun{
# Load model
mod <- load_model("testmodel.rds")
summary(mod)
} # }