R/apastylr.R
apastylr.Rd
Create an APA formatted report from the test of a specific term in a linear model.
apastylr(model, term)
A linear model created using lm().
lm()
A character string representing a term in the linear model.
An APA formatted character string.
data(ho_et_al) test <- lm(hypodescent ~ linkedfate, ho_et_al) apastylr(test, "linkedfate") #> [1] "t(822) = 6.14, p < .001"