Extract and format coefficients table
This function extract coefficients tables from common statistical model (lm/glm/lme/lmer/t-test) and format them.
cf(x, addci = TRUE, pv.style = 1, signif = 2, expcf, ...)
x |
x is a lm/glm/lme/lmer/t.test model |
addci |
Logical value that tells R to add a 95% confidence interval to the output. True by default. |
pv.style |
Integer specifying the style (1 or 2) of p-value
formatting. See |
signif |
Either an integer specifying the number of significant digits or a dimension 3 vector for respectively the estimate, standard error and t-value |
expcf |
Logical value that tells R to add exponentiated value of estimate. Set to FALSE except if the model specifies a logistic regression (family = binomial) |
... |
Not used yet |
Returns a data.frame of formatted characters of the coefficient table.
Charles-Édouard Giguère
lm1 <- lm(Sepal.Length ~ Species, iris) cf(lm1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.