slope.test | R Documentation |
This function estimates the linear dependency of the trait variance on time. This function is used by other functions and will generally not be used directly by users.
slope.test(x, model, tt, theta = NULL, int = NULL, mstep = NULL)
x |
vector of sample means |
model |
the model being evaluated |
tt |
vector of sample ages |
theta |
if the tested model is stasis, theta is the estimated theta from the data. |
If model = stasis: Estimates the slope of the least square regression of the size of deviations (their absolute value) from the optimal phenotype as a function of time. If model = random walk or directional trend: Estimates the slope of the least square regression of the size of the detrended data as a function of time. This function is used by other functions and will generally not be used directly by users.
least-square slope estimate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.