search for: interval_intersect

Displaying 1 result from an estimated 1 matches for "interval_intersect".

2012 May 15
2
pass objects into "..." (dot dot dot)
...jects into "..." to "fool" the function into thinking the objects are passed in separately/explicitly with common separation (like "x,y,z" when x, y and z are objects to be passed into "...")? Details: I'm working with this parameter list and function: interval_intersection(x, ..., check_valid = TRUE) To illustrate... This works and I get the expected interval: library('intervals') # create individual Intervals objects z = Intervals(c(1,10)) y = Intervals(c(5,10)) x = Intervals(c(4,6)) > interval_intersection(x,y,z) Object of class Intervals 1 interva...