| calc.betas | R Documentation |
Calculates coefficients for predicting one dimension from others, using either linear model or PCA interpretation.
calc.betas(
fit,
est = NULL,
stders = TRUE,
y.dim,
x.dim,
type = "lm",
vcov = FALSE
)
fit |
A fitted model object of class "lme.morph" |
est |
Optional parameter estimates (if NULL, extracted from fit) |
stders |
Logical; whether to compute standard errors |
y.dim |
Integer specifying which dimension to predict |
x.dim |
Integer vector specifying which dimensions to use as predictors |
type |
Character string, either "lm" or "pca" |
vcov |
Logical; if TRUE, returns variance-covariance matrix |
If vcov = FALSE, a matrix with estimates and standard errors. If vcov = TRUE, a list with components:
est |
Vector of coefficient estimates |
varcov |
Variance-covariance matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.