simulate | R Documentation |
Simulation methods for a4a stock assessment fits.
simulate(object, nsim = 1, seed = NULL, ...)
## S4 method for signature 'a4aFitSA'
simulate(object, nsim = 1, seed = NULL, empirical = TRUE)
## S4 method for signature 'SCAPars'
simulate(object, nsim = 1, seed = NULL, empirical = TRUE)
## S4 method for signature 'a4aStkParams'
simulate(object, nsim = 1, seed = NULL, empirical = TRUE)
## S4 method for signature 'submodels'
simulate(object, nsim = 1, seed = NULL, empirical = TRUE)
## S4 method for signature 'submodel'
simulate(object, nsim = 1, seed = NULL, empirical = TRUE)
object |
object of relevant class (see signature of method) |
nsim |
number of iterations |
seed |
|
... |
additional argument list that might never be used |
empirical |
logical, shall the empirical method in MASS be used |
data(ple4)
data(ple4.index)
fmodel <- ~factor(age) + factor(year)
qmodel <- list(~factor(age))
fit1 <- sca(fmodel=fmodel, qmodel=qmodel, stock=ple4, indices=FLIndices(ple4.index))
fit1
summary(fit1)
stock.n(fit1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.