sampling_functions {linbin}R Documentation

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).

Details

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

Value

A list of functions.


[Package linbin version 0.1.3 Index]