View source: R/phylo_regression.R
phylolm_summary | R Documentation |
Runs basic case of single x and y variables (dummy or continuous). Note that the ordering of the input vectors and the tree tip labels needs to be checked by the user beforehand: this script does not require that the y and x variables are named, and so no name check is performed.
phylolm_summary(y, x, in_tree, model_type = "BM")
y |
variable to use for y component of model. |
x |
variable to use for x component of model. |
in_tree |
phylo object. Tip label order is assumed to match the y and x variables. |
model_type |
length-one character vector specifying which phylogenetic model to use (must be a possible setting of the model argument to the phylolm function). |
Numeric vector of length three, providing the estimated coefficients for the intercept and slope, along with the p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.