Cross variables in a list

Share:

Description

Cross variables in a list

Usage

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)

Arguments

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

Author(s)

David Hajage

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.