View source: R/calc-table-one-tests.R
calc_table_one_tests | R Documentation |
Given the results of the create_tidy_table_one
this will give you a list
with the variable names for those that were, for example, non-normal by
Shapiro-Wilkes test or that had unequal variance by Barlett's test.
calc_table_one_tests(table_one)
table_one |
A tibble result from |
A list
library(dplyr)
tab1 <- create_tidy_table_one(data = pbc_mayo,
strata = "trt",
.vars = c("time",
"status",
"trt",
"age",
"sex",
"ascites",
"hepato",
"spiders",
"edema",
"bili",
"chol",
"albumin",
"copper",
"alk_phos",
"ast",
"trig",
"platelet",
"protime",
"stage"))
dplyr::glimpse(tab1)
calc_table_one_tests(tab1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.