phylolm_summary {POMS} | R Documentation |
Wrapper for running phylogenetic regression with phylolm
Description
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.
Usage
phylolm_summary(y, x, in_tree, model_type = "BM")
Arguments
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). |
Value
Numeric vector of length three, providing the estimated coefficients for the intercept and slope, along with the p-value.
[Package POMS version 1.0.1 Index]