a character, the output format. Can be a data.frame or matrix.
Value
A matrix or data.frame of node categories
Details
If the output format is "matrix" then the resulting sample matrix is in row-node format - the rows correspond to the object's nodes while
the individual samples are represented by columns.
If the output format is "frame", which is by default,
the result is a data frame with columns representing the nodes
and levels the set of categories of the respected nodes.