kmfamset: Convert a binary matrix to a 'kmfamset' object (family of...

View source: R/kmfamset.R

kmfamsetR Documentation

Convert a binary matrix to a kmfamset object (family of sets)

Description

kmfamset returns a kmfamset object after checking that the passed object is a binary matrix with all different rows. If the passe object inherits the kmfamset property, nothing else is changed.

Usage

kmfamset(x)

Arguments

x

Binary matrix representing a family of sets

Value

kmfamset object

See Also

Other Constructors: kmspace(), kmstructure()

Examples

m <- as.matrix(c(1,0,0,0,1,0,1,1,1), nrow=3, byrow=TRUE)
kmfamset(m)


kstMatrix documentation built on Dec. 18, 2025, 5:07 p.m.