mlm | R Documentation |
Fits a multivariate linear model and computes test statistics and asymptotic P-values for predictors in a non-parametric manner.
mlm(
formula,
data,
transform = "none",
contrasts = NULL,
subset = NULL,
fit = FALSE
)
formula |
object of class " |
data |
an optional data frame,
list or environment (or object coercible
by |
transform |
transformation
of the response variables: " |
contrasts |
an optional list.
See |
subset |
subset of predictors for which
summary statistics will be
reported. Note that this is different
from the " |
fit |
logical. If |
A Y
matrix is obtained after transforming
(optionally) and centering
the original response variables.
Then, the multivariate fit obtained by
lm
can be used to
compute sums of squares, pseudo-F statistics and asymptotic
P-values for the terms specified by the formula
in a non-parametric manner.
mlm
returns an object
of class
"MLM"
,
a list containing:
call |
the matched call. |
aov.tab |
ANOVA table with Df, Sum Sq, Mean Sq, F values, partial R-squared and P-values. |
precision |
the precision in P-value computation. |
transform |
the transformation applied to the response variables. |
na.omit |
incomplete cases removed
(see |
fit |
if |
Diego Garrido-MartÃn
lm
, Anova
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.