sr {FLCore} | R Documentation |
The sr()
function acts as a front end to the various functions available
that implement various stocker/recruitment models. Four models are provided in
this package, but it is possible to write new functions that make use of the sr
call mechanism (see below).
sr(data, ...)
data |
An FLSR object holding the stock and recruitment data (slots r and ssb). |
... |
Other parameters, depending on the model selected. |
Four commonly used stock-recruitment models are available in this package:
The calling mechanism provided by sr
allows for other models to be implemented.
They would also be called from sr
as long as they comply with the input/output
interface:
FLSR-class
object. Class of
objects in this list must match those of the FLSR-class
slots. For example,
residuals must be a FLQuant-class
.
An object of class FLSR-class
Richard Hillary and Iago Mosqueira