Skip to content
Prev 294668 / 398502 Next

pass objects into "..." (dot dot dot)

Hi,
On Tue, May 15, 2012 at 1:38 PM, Ben quant <ccquant at gmail.com> wrote:
Hmm ... ok, I see. The interval_intersection function signature
suggests that this should work:

myIntersection <- function(...) {
  do.call(interval_intersection, unname(list(...)))
}

Or you can just make a list of intervals and do the same do.call mojo, ie:

do.call(interval_intersection, my.interval.list)

yay/nay?

-steve