Google Word Tree with R googleChartName <- "wordtree"gvisChartName <- "gvisWordTree"
Google Word Tree with R googleChartName <- "wordtree"
gvisChartName <- "gvisWordTree"
A word tree depicts multiple parallel sequences of words. It could be used to show which words most often follow or precede a target word (e.g., "Cats are...") or to show a hierarchy of terms (e.g., a decision tree).
data: data.frame that contains the data to be visualised
textvar: a string that refers to the column name in data that contains the text to be used.
sizevar: a string that refers to the column name in data that contains the size of the words in the word tree.
stylevar: a string that refers to the column name in data that contains the stlye of the text. For no warning message in plot, should be called <textvar>.style.
idvar: (only when format is explicit) a string that refers to the column name in data that contains the unique ID of the text.
parentvar: (only when format is explicit) a string that refers to the column name in data that contains the ID of the parent of the text.