Description Usage Arguments Value
fit one of the functions to mortality data using k-fold cross-validation this function basically chooses k folds, runs mort.fit on each one, computes the error, and then re-runs the fit on the entire data; finally, it returns the result. it is designed to be called automatically from mort.fit when that method is passed a mortalityDataFolded object.
1 2 |
model.obj |
the mortalityModel object |
data |
a mortalityDataFolded object |
method |
a fitMethod |
verbose |
if TRUE, print extra info |
keep.folds.fits |
if TRUE, retain all of the results from fitting each individual fold. this is useful for debugging, but can take up a lot of memory. |
... |
other arguments to mort.fit |
a mortalityFit object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.