kmsymmsetdiff: Compute the symmetric set difference between two sets

View source: R/kmsymmsetdiff.R

kmsymmsetdiffR Documentation

Compute the symmetric set difference between two sets

Description

Compute the symmetric set difference between two sets

Usage

kmsymmsetdiff(x, y)

kmsetdistance(x, y)

Arguments

x

Binary vector representing a set

y

Binary vector representing a set

Value

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

Examples

kmsymmsetdiff(c(1,0,0), c(1,1,0))

kmsetdistance(c(1,0,0), c(1,1,0))


kstMatrix documentation built on Oct. 4, 2024, 1:08 a.m.