apply_function_to_column: Apply function to multiple columns.

Description Usage Arguments Value

View source: R/utilities.R

Description

This function enables the application of a function to multiple columns.

Usage

1
apply_function_to_column(frame, list_of_columns, new_col, funct)

Arguments

data

frame

list

of columns to apply function to

name

of new column

function

to apply

Value

original data frame with new column attached


javiergodoy/datapeek documentation built on Nov. 4, 2019, 2:21 p.m.