tabulate_continuous: Tabulate continuous variable

Description Usage Arguments Value Author(s) See Also Examples

Description

Tabulate continuous variable

Usage

1
tabulate_continuous(x, variable_name, round_digits = 1, ...)

Arguments

x

Variable object for tabulation.

variable_name

String variable name to include in first column of output table.

round_digits

Integer to define how many digits to round the percentage.

...

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

Value

data frame with one row per unique value within the input variable and columns containing the unique values and their counts with associated percentages

Author(s)

Jay Achar

See Also

statr

Examples

1
tabulate_continuous(mtcars$mpg, variable_name = "MPG")

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