View source: R/as.binaryMatrix.R
| as.binaryMatrix | R Documentation |
Convert a family of sets from set to matrix representation
as.binaryMatrix(x)
x |
Set object |
Matrix object
Other Utilities:
as.famset()
m <- matrix(c(1,0,0,0,
0,1,0,0,
1,0,1,0,
0,1,1,0,
1,1,1,1), ncol=4, byrow=TRUE)
m
as.binaryMatrix(as.famset(m))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.