count_percentage: Count and compute percentage

Description Usage Arguments Examples

View source: R/count_percentage.R

Description

This function allows you to count the observations per group and compute the associated percentage.

Usage

1
count_percentage(df, col_name, digits = 1)

Arguments

df

A data frame with the observations

col_name

The name of the column containing the observations

digits

The number of decimals needed for the percentage

Examples

1

shezadt/utile documentation built on July 12, 2021, 10:54 a.m.