splat: 'Splat' arguments to a function

Description Usage Arguments Value Examples

Description

Wraps a function in do.call, so instead of taking multiple arguments, it takes a single named list which will be interpreted as its arguments.

Usage

1
splat(flat)

Arguments

flat

function to splat

This is useful when you want to pass a function a row of data frame or array, and don't want to manually pull it apart in your function.

Borrowed from splat

Value

a function

Examples

1
2

skayondo/breed_forest documentation built on Aug. 11, 2020, 12:35 a.m.