tabulate_all_variables: Tabulate data frame summary

Description Usage Arguments Value Author(s) See Also Examples

Description

Tabulate data frame summary

Usage

1
2
tabulate_all_variables(x, unique_value_threshold = 6,
  variable_names = NULL, ...)

Arguments

x

data frame

unique_value_threshold

Integer defining the number of unique values above which a variable is analysed as continuous

variable_names

Character string to define variable names within output. Length must be identical to the number of variables.

...

Additional arguments to be passed to nested functions (e.g. na.rm = TRUE).

Value

Data frame of summary values. Counts and percentages for categorical variables and median and IQR for continuous variables

Author(s)

Jay Achar

See Also

statr

Examples

1
2
3
4
tabulate_all_variables(iris,
unique_value_threshold = 6,
variable_names = c("Sepal Length", "Sepal Width", "Petal Length",
"Petal Width", "Species"))

JayAchar/statr documentation built on May 10, 2019, 2:40 p.m.