Description Usage Arguments Author(s)
Cross variables in a list
1 2 3 4 5 6 7 8 9 | cross_list(l, funs = c(mean, sd, quantile, n, na), ...,
cum = FALSE, margin = 0:2, addmargins = FALSE, useNA =
c("no", "ifany", "always"), propNA = TRUE, revert =
FALSE, method = c("pearson", "kendall", "spearman"),
times = NULL, followup = FALSE, test = FALSE,
test.summarize = test.summarize.auto, test.survival =
test.survival.logrank, test.tabular = test.tabular.auto,
show.test = display.test, plim = 4, show.method = TRUE,
label = FALSE)
|
l |
|
funs |
funs |
... |
... |
cum |
cum |
margin |
margin |
addmargins |
addmargins |
useNA |
useNA |
propNA |
|
revert |
whether to regroup factors or numeric variables when crossing factor with numeric variables |
method |
method |
times |
times |
followup |
followup |
test |
test |
test.summarize |
test.summarize |
test.survival |
|
test.tabular |
test.tabular |
show.test |
show.test |
plim |
plim |
show.method |
show.method |
label |
label |
David Hajage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.