format_sets | R Documentation |
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)
x |
The sets to be formatted |
A presence/absence matrix with sets as columns and elements as rows, formatted as a ngCMatrix
data('twitter')
format_sets(as.matrix(twitter))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.