Convert a data.frame to a treenetdf
1 2 3 |
data |
a tree network description in one of numerous forms (see details). |
cols |
named character vector specifying the names of columns to be
converted to the standard |
df_type |
character specifying which type of data frame to convert. Can
be |
subset |
character vector specifying the names of the columns (in order) that should be used to define the hierarchy. |
root |
root name. |
... |
arguments to pass to methods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.