FLSR-class {FLCore} | R Documentation |
A class for stock-recruitment data and models
Objects can be created by calls of the form new("FLSR", ...)
or through
the constructor function FLSR()
.
name
:desc
:model
:ssb
:rec
:rechat
:residuals
:params
:se
:covar
:var
:varacorr
:aic
:mcmc
:signature(obj = "FLSR")
: Plots different graphs related to the fit of the SR model to SR data.signature(obj = "FLStock", ssb = c('numeric', "FLQuant"))
: Predicts recruitment values from the model parameters
estimates contained in an FLSR object, and an SSB value. If ssb
is of class FLQuant
,
predict
returns another FLQuant
. If a numeric vector is input, a vector of the same
length is returned.signature(obj = "FLSR")
:Prints a detailed summary of the
slots in the object, indicating whether they contain any data and the number of years,
quants, areas, units and seasons specified.signature(X = "FLSR", FUN = "function")
: Apply a function to all
FLQuant slots in an objectFLR Team
sr
function fits different stock-recruitment models to the data stored in the 'FLSR' objects.
as.FLSR
creates an 'FLSR' object from a 'FLStock' or 'FLBiol' object.
FLStock-class
, FLBiol-class
.
data(ple4) fsr <- as.FLSR(ple4, model = "ricker") fsr <- sr(fsr) plot(fsr) params(fsr)