CreateTextTree | R Documentation |
CreateTextTree
Generate a predictive tree from an outcome variable and a tree.CreateTextTree
Generate a predictive tree from an outcome variable and a tree.
CreateTextTree(
tree,
outcome.variable,
original.text,
transformed.text,
output = "Sankey"
)
tree |
A tree object. |
outcome.variable |
The dependent variable used when creating |
original.text |
A vector containing the source text that was used to create the tree. |
transformed.text |
A vector containing the processed text. |
output |
A string indicating how the result should be printed. Options
are |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.