Description Usage Arguments Value Examples
summaryModels returns model estimates of interst for: lm, glm, gee, lmer, coxph and aov model objects
1 | summaryModels(x, lmer = FALSE, digits = 3)
|
x |
Model object |
lmer |
If TRUE, the model object will be considered as an lmer() model object |
digits |
Number of digits to round estimates to |
R data.frame object containing model estimates and p-values
1 2 3 4 5 6 7 8 9 10 | example_df <- data.frame(a = sample(c(0, 1), 100, replace = T),
b = sample(letters[24:26], 100, replace = T),
c = rnorm(100),
d = rnorm(100, 15, 3))
lmMod <- lm(c ~ d, data = example_df)
logMod <- glm(a ~ b*c, data = example_df, family = binomial)
aovMod <- aov(c ~ a, data = example_df)
summaryModels(lmMod)
summaryModels(logMod)
summaryModels(aovMod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.