View source: R/fit_selectivity.R
fit_selectivity | R Documentation |
Fitting models to empirical selectivity data
fit_selectivity( object, pattern = 0, blocks = NULL, w = NULL, method = NULL, control = list(), FUN = NULL, ... )
object |
An empirical selectivity object, extracted with
the |
pattern |
Integer, the code for the selectivity model, as in SS. |
blocks |
Integer, with the maximum number of blocks to be fitted, or a vector with the year breaks for each block. |
w |
A vector of weights (one per year) or a character ('yield', 'Neff', 'Nsamp' or 'equal'). |
method |
Method for creating the blocks, current available methods are 'equal' (equidistant placement) and 'cluster'. |
control |
A list with additional options for every method. See details. |
FUN |
Error function used for data fitting. |
... |
Additional arguments, not used currently. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.