This function can be used to check if a treedata object contains factors and, if desired, convert all columns automatically to factors.
If TRUE, then a treedata object with all factors will be returned;
columns will be forced into factors using
If return.factor, then an object of class "
treedata" with all columns as
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.