most_freq_var: Return most frequent variable from a dataframe

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Meant to be used in a dplyr::mutate call to get most frequent occurence of a variable by wa_number

Usage

1

Arguments

df

dataframe to interogate

var

string of variable name to roll up

Value

column from summarized dataframe (using pull)


Enlightengeo/GeoscienceBC_2019-008 documentation built on Feb. 4, 2021, 12:43 p.m.