apply_function_to_column: Apply function to multiple columns.

Description Usage Arguments Value

View source: R/Utilities.R View source: R/.ipynb_checkpoints/Utilities-checkpoint.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


stuagano/datapeek documentation built on July 2, 2020, 6:27 p.m.