run_dfr_func: Run a dataframe range function with validation

Description Usage Arguments Details Value

View source: R/validate.R

Description

A dataframe range function is a generic name for a set of functions in this package with a common signature. Dataframe range funtions take a dataframe along with from and to arguments, which specify a range of columns over which operations will be performed.

Usage

1
run_dfr_func(f, data, from, to, ...)

Arguments

f

The dataframe range function.

from

The start column: either an index or name.

to

The end column: either and index or name.

Details

This function provides standard validation for the arguments that are common to these functions. It takes a dataframe range function, checks the standard inputs are valid, runs the function, and returns any values.

Value

The return value of the function.


olihawkins/cltools documentation built on Sept. 14, 2020, 7:25 a.m.