summarise_marginal_factor_levels: summarise factor levels with relative frequency below a...

View source: R/prepare_functions.R

summarise_marginal_factor_levelsR Documentation

summarise factor levels with relative frequency below a threshold

Description

summarise factor levels with relative frequency below a threshold

Usage

summarise_marginal_factor_levels(x, perc_threshold, marginal_name)

Arguments

x

factor variable

perc_threshold

percentage threshold under which levels will be summarised

marginal_name

for new summary factor level


KWB-R/dwc.wells documentation built on July 13, 2022, 9:36 p.m.