powered by
fmt_uni_regression
This function uses Anova from the car package with type = "III" to calculate global p-values.
Anova
car
type = "III"
# S3 method for fmt_uni_regression add_global(x, ...)
object with class fmt_uni_regression from the fmt_uni_regression function
arguments to be passed to Anova. Adding test.statistic = can change the type of test (e.g. Likelihood-ratio, Wald, etc.).
test.statistic =
# NOT RUN { fmt_uni_regression( trial, method = "glm", y = "response", method.args = list(family = binomial), exponentiate = TRUE ) %>% add_global() # }
Run the code above in your browser using DataLab