get_rel_freq: Get relative frequencies

Description Usage Arguments Value

View source: R/get_rel_freq.R

Description

This function takes a quota tibble or dataframe as its input and returns a tibble as its output. The function assumes that one column, the "location" column, includes the location of your quota, e.g. a country, county, or city. This can also just be a single value for all rows. The freq_raw argument encodes the raw number of people.

Usage

1
get_rel_freq(quota, location = name, freq_raw = value)

Arguments

quota

dataframe or tibble

location

factor or character

freq_raw

numeric

Value

A tibble with relative frequencies for the gender-age combinations for each location.


essentialols/fbsamplR documentation built on Dec. 20, 2021, 6:39 a.m.