apply_over_vars: Apply a function over variables in a dataframe.

Description Usage Arguments

View source: R/apply_over_vars.R

Description

Apply a function over variables in a dataframe.

Usage

1
apply_over_vars(df, vars, f)

Arguments

df

dataframe. The dataframe to apply the function over.

f

function. The function to apply.

vars.

A list of the variable names to apply to, or a character regex pattern to search for (using 'get_vars').


peterhurford/surveytools2 documentation built on Feb. 18, 2021, 9:13 p.m.