Description Usage Arguments Details Value Author(s) References See Also Examples
returns the null starting values used in model.test.sisters
1 | starting.values(MODEL)
|
MODEL |
any one of the evolutionary models implemented by model.test.sisters except BM_2rate and OU_2rate. |
because nlm (and other optimization functions in R) often gets stuck on local likelihood optima, model.test.sisters uses a variety of starting parameters in combination with nlm optimization and reports the results for the best set of starting parameters as the maximum likelihood estimate. The null starting parameters have been optimized for rates of Beta and Alpha that are typically less than 1. The user can also provide their own matrix of starting parameters. This function is provided here so the user can determine if the starting parameters are suited to their particular dataset. Alternatively, values of Euclidean distances and of L can also be transformed (i.e. by dividing large values by a constant) so they lie within a range acceptable for the starting parameters.
returns a matrix with the starting values. Each column is a different parameter, and the last column is NA
Jason T. Weir
Weir JT, D Wheatcroft, & T Price. 2012. The role of ecological constraint in driving the evolution of avian song frequency across a latitudinal gradient. Evolution 66, 2773-2783.
Weir JT, & D Wheatcroft. 2011. A latitudinal gradient in rates of evolution of avian syllable diversity and song length. Proceedings of the Royal Society of London, B 278, 1713-1720.
model.test.sisters
1 2 | starting.values(MODEL = "OU_linear")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.