
Last chance! 50% off unlimited learning
Sale ends in
This function is intended to ensure proper formatting of the supplied sets to
the create_hierarchy()
constructor. Support for other input
objects can be created by writting a format_sets method for the class.
format_sets(x)
A presence/absence matrix with sets as columns and elements as rows, formatted as a ngCMatrix
The sets to be formatted
data('twitter')
format_sets(as.matrix(twitter))
Run the code above in your browser using DataLab