Dear All,

It is my first time using this mail list to post a question. And I
sincerely hope that this will not bother any subscribers.
So far as I know, there are functions like union( ), which can help to
combine two sets of discrete data. But what if the data sets are with
continuous data. For instance, I got three sets like [2, 4], [5, 6], [3.4,
5.5]. I wonder if there is a quick solution to recognize their union is [2,
6], and return the size of this union 6-2=4 to me. The similar demand is
for the intersection operation.
If you get any idea, please inform me. Thanks in advance!

Xie

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to