tibble_combn: Apply a function across all combinations of groups in a...

Description Usage Arguments Value

View source: R/reshape.R

Description

All extra parameters are passed to the input function

Usage

1
tibble_combn(tbl, set_size, func, within = NULL, ...)

Arguments

tbl

A nested tibble

set_size

Number of rows in dat to compare in each iteration

func

function Function to apply to each set of rows

within

character A column name from the inner nested tibbles in 'tbl'. If given, comparisons will only be made between rows which share the same group in the within column.

Value

A list of results from 'func'


fennerm/fen.R.util documentation built on May 17, 2018, 7:37 p.m.