View source: R/table1.pvalues.R
table1.pvalues | R Documentation |
Inspired by the table1 vignette itself (https://cran.r-project.org/web/packages/table1/vignettes/table1-examples.html#example-a-column-of-p-values), only to have it quick every time I want a table1 significance
table1.pvalues(x, ...)
x |
a table in the 'table1' set |
... |
extra parameters. so far, none implemented, that I know |
a 'table1' object
data(mtcars)
table1::table1( ~ vs + gear + carb |as.factor(cyl),
data = mtcars,
extra.col = list("significance" = table1.pvalues),
overall = "All cars"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.