cat_counter

0th

Percentile

Preparing dataframe with counts and percentages for categorical variables.

Preparing dataframe with counts and percentages for categorical variables.

Keywords
internal
Usage
cat_counter(data, main, condition = NULL, ...)
Arguments
data

A dataframe (or a tibble) from which variables specified are to be taken. A matrix or tables will not be accepted.

main

The variable to use as the rows in the contingency table.

condition

The variable to use as the columns in the contingency table.

...

Additional grouping variables.

Aliases
  • cat_counter
Examples
# NOT RUN {
ggstatsplot:::cat_counter(data = ggplot2::mpg, "drv", cyl, "fl")
# }
Documentation reproduced from package ggstatsplot, version 0.0.11, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.