count_pct: Adds percentage to dplyr::count()

View source: R/tools.R

count_pctR Documentation

Adds percentage to dplyr::count()

Description

Adds variables total and pct (percentage) to dplyr::count()

Usage

count_pct(data, ...)

Arguments

data

A dataset

...

Other parameters passed to count()

Value

Dataset

Examples

count_pct(iris, Species)

explore documentation built on Oct. 11, 2023, 9:07 a.m.