Provides the generic functions
and the S4 methods is.subset and is.superset
for finding super or subsets in associations and itemMatrix objects.
Usage
is.subset(set, el, proper = FALSE)
is.superset(set, el, proper = FALSE)
Arguments
el, set
associations or itemMatrix objects.
proper
"logical"; all or just proper super or subsets.
Value
returns a
logical matrix with length(el) rows
and length(set) columns.
Each logical row vector represents which elements in set
are supersets (subsets) of the corresponding element in el