xval,biodyn,missing-method | R Documentation |
Performs a cross-validation uisng a hindcast
## S4 method for signature 'biodyn,missing'
xval(
object,
minyear = range(object)["maxyear"] - 4,
maxyear = range(object)["maxyear"]
)
object |
an object of class |
minyear |
last year to fit data to |
maxyear |
last year to project to, by default is the last year in the catch |
index |
an |
xval
Returns a data.frame with index, year, obs and hat
## Not run:
data(bd)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.