View source: R/add_p.tbl_continuous.R
add_p.tbl_continuous | R Documentation |
Add p-values
## S3 method for class 'tbl_continuous'
add_p(
x,
test = NULL,
pvalue_fun = label_style_pvalue(digits = 1),
include = everything(),
test.args = NULL,
group = NULL,
...
)
x |
( |
test |
List of formulas specifying statistical tests to perform for each
variable.
Default is two-way ANOVA when |
pvalue_fun |
( |
include |
( |
test.args |
( |
group |
( |
... |
These dots are for future extensions and must be empty. |
'tbl_continuous' object
trial |>
tbl_continuous(variable = age, by = trt, include = grade) |>
add_p()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.