Description Usage Arguments Value Author(s) See Also Examples
Utility method returning the intersection of two lists. Duplicated elements are not considered.
1 2 | ## S3 method for class 'PSRoot'
intersect.list(this, one, two, ...)
|
this |
A PSRoot object. |
one |
A list of objects. |
two |
A list of objects. |
... |
Not used. |
The list containing the intersection.
Botond Sipos, Gregory Jordan
For more information see PSRoot
.
1 2 3 4 5 6 | # create some lists
a<-list(1,2,3);
b<-c(a,list("a","b","c"))
# get the intersection of a and b
PSRoot$intersect.list(a,b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.