View source: R/selectivity_funcs.R
| sigmoid_weight | R Documentation |
A sigmoidal selectivity function with 50% selectivity at
weight sigmoidal_weight =w_{\text{sigmoid}} and width sigmoidal_sigma =\sigma.
S(w) = \left(1 + \left(\frac{w}{w_{\text{sigmoid}}}\right)^{-\sigma}\right)^{-1}
sigmoid_weight(w, sigmoidal_weight, sigmoidal_sigma, ...)
w |
Vector of sizes. |
sigmoidal_weight |
The weight at which selectivity is 50%. |
sigmoidal_sigma |
The width of the selection function. |
... |
Unused |
You would not usually call this function directly. Instead, set the sel_func
column in gear_params() to "sigmoid_weight" and provide sigmoidal_weight
and sigmoidal_sigma as additional columns. setFishing() will then call
this function automatically when calculating the selectivity array.
Vector of selectivities at the given sizes.
gear_params() for setting the selectivity parameters.
Other selectivity functions:
double_sigmoid_length(),
knife_edge(),
knife_edge_length(),
sigmoid_length()
sigmoid_weight(w = c(1, 10, 100, 1000),
sigmoidal_weight = 100, sigmoidal_sigma = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.