Description Usage Arguments Details Value Author(s) See Also Examples
Calculates the intersection of subsets of a probability space. Comparisons are made row-wise, so that in the data frame case, intersect(A,B) is a data frame with those rows that are both in A and in B.
1 2 3 4 5 6 7 8 9 10 |
x, y |
vectors, data frames, or |
... |
further arguments to be passed to or from other methods. |
This is a generic function, extended from the intersect function in the base package. The elements of intersect(x,y) are those elements in x and in y. The original definition is preserved in the case that x and y are vectors of the same mode.
A vector, data frame, or subset of a probability space of the same type as its arguments.
G. Jay Kerns gkerns@ysu.edu, based on a suggestion made by Brian Ripley in R-devel, 12/11/07.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.