Description Usage Arguments Details Value Author(s) See Also Examples
APA formated interpretation of lm
1 2 | ## S3 method for class 'lm'
apa.regression(model, ci = NULL)
|
model |
|
ci |
|
Pulls out the estimates, confidence interval, statistic, and p-value of the model; formats the estimates, confidence interval, p-values; calculates r = √{t^2/(t^2+df)}; and produces a table.
the formatted data.frame
Mark Newman, mark@trinetteandmark.com
Other regression: apa.confint
,
apa.regression.glmerMod
,
apa.regression.glm
,
apa.regression.lmerModLmerTest
,
apa.regression
1 2 3 4 5 6 7 |
x = testdata.apa.regression.lm
model = lm(Response ~ Treatment, data = x)
ci = confint(model)
tab = apa.regression(model, ci)
kable(tab, caption = 'Regression coefficients with 95% CI', booktabs = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.