[R] Intersection list

John Ramey johnramey at gmail.com
Thu May 6 19:51:12 CEST 2010


?intersect

-- 
John A. Ramey, M.S.
Ph.D. Candidate
Department of Statistics
Baylor University

On Thu, May 6, 2010 at 12:48 PM, Ralf B <ralf.bierig at gmail.com> wrote:
> How can I create intersections of vectors?
>
> a <- c(1,2,3)
> b <- c(1,5,6)
>
> the intersected list c should contain c(1)...
>
> Ralf
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list