lapplyFUNpairwise: Apply a function pairwise along a list
Description
Applies a function f(ref, y)
where y
is an element of a list and
ref
is a reference element.
Usage
lapplyFUNpairwise(x, f, ref)
Arguments
- x
a list
- f
the function to apply
- ref
the index of the reference element