wrapper_func: 'Engine' for '_by2' functions

Description Usage Arguments Details Value

Description

Apply a function to data in pairs (over a facet column).

Usage

1
2
wrapper_func(data = NULL, func = NULL, xy_grid = NULL, xy_nms = NULL,
  col = NULL, ...)

Arguments

data

data.frame. Data to apply a function over.

func

function. Wrapped by do.call().

xy_grid

data.frame. Output from create_xy_grid().

xy_nms

character (vector). Values to use to create a 'grid' of all combinations of values.

col

character. Name of 'id' column in data.

...

dots. Additional parameters to pass to func.

Details

Should be replaced by a purrr function in the future. Must be careful not to pass NULL in ....

Value

data.frame.


tonyelhabr/tetext documentation built on May 14, 2019, 8:03 a.m.