Learn R Programming

gtsummary (version 1.2.0)

add_global_p: Adds the global p-value for a categorical variables

Description

This function uses car::Anova with argument type = "III" to calculate global p-values for categorical variables. Output from tbl_regression and tbl_uvregression objects supported.

Usage

add_global_p(x, ...)

Arguments

x

tbl_regression or tbl_uvregression object

...

Further arguments passed to or from other methods.

See Also

add_global_p.tbl_regression, add_global_p.tbl_uvregression