Re: [R] How to count the overlapped in two vectors

From: Erik Iverson <iverson_at_biostat.wisc.edu>
Date: Thu, 01 May 2008 10:01:15 -0500

Not quite sure what you want your graphic to look like.

Do ?intersect and ?length help at all?

ss wrote:
> Dear list,
>
> If I have two vector, t1 and t2, of different lengths. Is there an easy way
> to count
> the number of the overlapped in two vectors and show the result in the
> graph?
>
> Thanks much,
>
> Alex
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_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.



R-help_at_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. Received on Thu 01 May 2008 - 16:05:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 01 May 2008 - 16:30:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive