Description Usage Arguments Value
View source: R/fit_cyclomort.R
Uses a basic flexsurvreg exponential mortality model to find the average hazard value, and fits a mixed normal distribution model to estimate the peaks, season durations, and weight distributions for the model. These estimates are not meant to be fully accurate but instead are meant to be good initial guesses for the fit_cyclomort function.
1 | guess_initial_parameters(x, n, null_fits)
|
x |
|
n |
expected number of mortality seasons within a period |
null_fits |
original estimate for mortality rate assuming constant hazard function |
a named vector of guesses for parameter values, used to initialize the fitting process
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.