Description Usage Arguments Value Examples
View source: R/calc_likelihood_weights.R
Calculate likelihood weights.
1 | calc_likelihood_weights(years, weight.rate)
|
years |
A vector of the years that weights must be calculated for. |
weight.rate |
The rate used to calculate the weights. Each year y is assigned weight proportional to (1 - weight.rate) ^ (- year). |
A vector of weights.
1 | calc_likelihood_weights(1980:2010, .05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.