apply_combinations: Apply a function to every combination of some sequences

Description Usage Arguments Value Examples

View source: R/demonanalysis.R

Description

Apply a function to every combination of some sequences

Usage

1

Arguments

vec

vector of final values of the sequences (initial values are always zero)

fn

function to apply to the values

...

other arguments passed to fn

Value

result of applying fn to every combination of vec values

Examples

1

robjohnnoble/demonanalysis documentation built on June 30, 2020, 12:47 a.m.