lmer_extract | R Documentation |
lmer_extract get (t, chisq, p) values from a single variable in a model ONLY USE WHERE FACTOR has more than two levels – chisq will report without any factor instead of without the specified factor
lmer_extract(model, varname, factorname = NULL)
model |
is a lm model |
varname |
is the variable of interest (string). ie. rowname in car::Anova to extract Chisq and Pr>Chisq |
factorname |
is optional. factor of var (string) as named by summary(model), e.g. 'Female01female'. ie. rowname in summary to extract tvalue |
m <- lme4::lmer(uptake ~ conc + Type + (1 | Treatment), CO2)
lmer_extract(m, "conc")
lmer_extract(m, "Type", "TypeMississippi")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.