Learn R Programming

linbin (version 0.1.3)

sampling_functions: Build Sampling Functions

Description

Helper function for sample_events. Parses function call parameters into self-enclosed function calls that can be passed row subsets of an event table for sampling.

Usage

sampling_functions(col.names, ...)

Arguments

col.names

Names of columns, for converting column name indices to numeric column indices.

...

Lists of sampling function parameters (see sample_events).

Value

A list of functions.

Details

NOTE: Assumes bin assignments will be appended to the end of the event table.