tableone | R Documentation |
tableone::CreateTableOne wrapper with latex and excel export
tableone(
data,
vars,
strata,
factorVars,
includeNA = FALSE,
test = TRUE,
testApprox = chisq.test,
argsApprox = list(correct = TRUE),
testExact = fisher.test,
argsExact = list(workspace = 2 * 10^5),
testNormal = oneway.test,
argsNormal = list(var.equal = TRUE),
testNonNormal = kruskal.test,
argsNonNormal = list(NULL),
smd = FALSE,
addOverall = TRUE,
showAllLevels = FALSE,
exact = NULL,
nonnormal = NULL,
catDigits = 1,
contDigits = 2,
pDigits = 3,
wb = NULL,
sheet = "tab1",
print_latex = TRUE,
label = "table1",
caption = "Descrittive del campione"
)
data |
same as in tableone::CreateTableOne |
vars |
same as in tableone::CreateTableOne |
strata |
same as in tableone::CreateTableOne |
factorVars |
same as in tableone::CreateTableOne |
includeNA |
same as in tableone::CreateTableOne |
test |
same as in tableone::CreateTableOne |
testApprox |
same as in tableone::CreateTableOne |
argsApprox |
same as in tableone::CreateTableOne |
testExact |
same as in tableone::CreateTableOne |
argsExact |
same as in tableone::CreateTableOne |
testNormal |
same as in tableone::CreateTableOne |
argsNormal |
same as in tableone::CreateTableOne |
testNonNormal |
same as in tableone::CreateTableOne |
argsNonNormal |
same as in tableone::CreateTableOne |
smd |
same as in tableone::CreateTableOne |
addOverall |
same as in tableone::CreateTableOne (but TRUE as default) |
showAllLevels |
same as in tableone::print.TableOne (but TRUE as default) |
exact |
same as in tableone::print.TableOne (if NULL fisher.test is used if lbmisc::fisher_needed) |
nonnormal |
same as in tableone::print.TableOne (if NULL, all is considered nonnormal) |
catDigits |
same as in tableone::print.TableOne |
contDigits |
same as in tableone::print.TableOne |
pDigits |
same as in tableone::print.TableOne |
wb |
if an openxlsx Workbook is given, Excel exporting to that one will occurr |
sheet |
sheet name for openxlsx WorkBook |
print_latex |
print to latex |
label |
label for the created latex table |
caption |
caption for the created latex table |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.