Displaying 1 result from an estimated 1 matches for "xyz_interval".
2012 May 15
2
pass objects into "..." (dot dot dot)
...als objects I will have so I
can't list them explicitly like this "x,y,z". So I build a matrix of
Intervals (per the package manual) and the function doesn't work:
> xyz = matrix(c(4,5,1,6,10,10),nrow=3)
> xyz
[,1] [,2]
[1,] 4 6
[2,] 5 10
[3,] 1 10
> xyz_interval = Intervals(xyz)
> interval_intersection(xyz_interval)
Object of class Intervals
1 interval over R:
[1, 10]
...[1,10] is unexpected/wrong because I want the intersection of the three
intervals. So I conclude that I need to pass in the individual Intervals
objects, but how do I do that if I don&...