group_proportions: Calculate proportions within groups

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Given a dataframe and one or more grouping variables this function will calculate the proportion of group observations within groups

Usage

1

Arguments

df

dataframe containing the grouping variables

...

any number of grouping variables passed as names

Value

dataframe with counts and proportions of groups within groups

Examples

1

AndBooth/Rutils documentation built on May 28, 2019, 11:04 a.m.