Skip to contents

modify data

Usage

modify(data, ...)

# S4 method for Progress
modify(data, vars, fun = cumsum)

# S4 method for ProgressList
modify(data, vars, fun = cumsum)

Arguments

data

data.frame. The data to modify.

...

extra arguments.

vars

character. The name of the variables (columns) of data.

fun

function. The name of a function to apply on data.

Value

An object of the same class as data.