powered by
Compute the symmetric set difference between two sets
kmsymmsetdiff(x, y)kmsetdistance(x, y)
kmsetdistance(x, y)
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
Binary vector representing a set
Other Utilities: kmcolors(), kmdoubleequal(), kmsetiselement()
kmcolors()
kmdoubleequal()
kmsetiselement()
kmsymmsetdiff(c(1,0,0), c(1,1,0)) kmsetdistance(c(1,0,0), c(1,1,0))
Run the code above in your browser using DataLab