stepwise | R Documentation |
very simple step function used for estimating selectivity (i.e. independent proportions for each age or length). The function
structure allows it to be passed to fn_sel
in sel_comp
.
stepwise(x, par = NULL)
x |
numeric vector (e.g. ) |
par |
named vector of parameters |
This is really a dummy function to use as fn_sel
in sel_comp
Nikolai Klibansky
## Not run:
x <- 1:10
parms <- setNames(round(lgs(x,1,median(x)),2),paste0("a",x))
stepwise(x=x,par=parms)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.