Description Usage Arguments Value Examples
getInits generates initial values for a complex CMR model. Essentially the global parameters (mean rates) are estimated optimizing the probability density function, assuming all random effects are 0. Then each random effect is estimated independently, assuming all other random effects are 0. This is not proper optimization, but work reasonably well for initial values.
1 | getInit(cmrModel)
|
cmrModel |
A CMR model structure with 1 clade. |
The function returns relatively decent initial values for MCMC estimation.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.