Get a Descriptive Table for every Data Frame, to easy document your Data
descriptive_table(
dfs,
variables,
varlabels = NULL,
weight = NULL,
strata = NULL,
id = NULL,
value = "mean",
digits = 3
)
Returns a matrix of Descriptive information. Output depends on value.
A character vector, containing the names of the data frames.
A character vector containing the variables in the data frame that should be described.
A character vector containing the Labels for every variable in variables.
A character vector, containing either the name of a weight in the respective data frame, or NA, if no weighting should be performed for this data frame.
A character vector, containing either the name of a strata in the respective data frame, or NA, if no strata should be used when weighting this data frame.
A character vector, containing either the name of a id in the respective data frame, or NA, if every row is unique for this data frame.
A character vector indicating what descriptive value should be displayed for the data frame. It can either be "mean", "percent", "total", or "total_percent".
A numeric value indicating the number of digits that the Descriptive table should be rounded to.