pairs_apply: Apply function to every pair between x and a list

Description Usage Arguments Value

View source: R/helpers.R

Description

Apply function to every pair between x and a list

Usage

1
pairs_apply(a, vect, FUN = overlap)

Arguments

a

value or vector

vect

list of values or vectors of the same type as 'a'

FUN

function to be applied on every pair. eg 'sum(a, vect[[1]])' if a and vect are numeric

Value

result of function call for each pair


jlaffy/statistrics documentation built on May 23, 2019, 4:04 a.m.