Description Usage Arguments Examples
This function uses Anova
from the car
package with type = "III"
to calculate global p-values.
1 2 | ## S3 method for class 'fmt_regression'
add_global(x, terms = NULL, keep = FALSE, ...)
|
x |
object with class |
terms |
Character vector of terms for which to add global p-values. Default
is |
keep |
logical argument whether to keep the individual p-values for the
levels of the categorical variable. Default is |
... |
arguments to be passed to |
1 | lm(marker ~ stage + grade, trial) %>% fmt_regression() %>% add_global()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.