Learn R Programming

kstMatrix (version 2.2-1)

kmspace: Convert a binary matrix to a kmspace object

Description

kmspace() returns a kmspace object for a binary matrix.

Usage

kmspace(x)

Value

kmspace object

Arguments

x

Binary matrix representing a family of sets

See Also

Other Constructors: kmfamset(), kmstructure()

Examples

Run this code
m <- as.matrix(c(1,0,0,0,1,0,1,1,1), nrow=3, byrow=TRUE)
kmspace(m)

Run the code above in your browser using DataLab