View source: R/kmsymmsetdiff.R
kmsymmsetdiff | R Documentation |
Compute the symmetric set difference between two sets
kmsymmsetdiff(x, y)
kmsetdistance(x, y)
x |
Binary vector representing a set |
y |
Binary vector representing a set |
kmsymmsetdiff: Symmetric set difference between 'x' and 'y'
kmsetdistance: Distance between the sets 'x' and 'y', i.e. the cardinality of the symmetric set difference
kmsymmsetdiff(c(1,0,0), c(1,1,0))
kmsetdistance(c(1,0,0), c(1,1,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.