artlm {ARTool}  R Documentation 
Build a linear model for ART data with response aligned or aligned and ranked by the specified term from the model.
artlm(
m,
term,
response = c("art", "aligned"),
factor.contrasts = "contr.sum",
...
)
m 
An object of class 
term 
A character vector indicating the effect term
in the transformed data in 
response 
Which response to use: the aligned response
( 
factor.contrasts 
The name of the contrastgenerating function to be
applied by default to fixed effect factors. Sets the the first element of

... 
This function is used primarily for posthoc tests. To run an ANOVA, it does
not need to be called directly; instead, use anova.art
, which
calls this function as needed.
An object of class lm
if formula(m)
does not
contain grouping or error terms, an object of class merMod
(i.e. a model fit by lmer
) if it contains grouping terms, or
an object of class aovlist
(i.e. a model fit by aov
) if
it contains error terms.
Matthew Kay
See art
for an example. See also
anova.art
, which makes use of this function.