A tool for calculating and drawing "variable trees". Variable trees display information about hierarchical subsets of a data frame defined by values of categorical variables.
vtree is a tool for drawing variable trees. Variable trees display information about nested subsets of a data frame, in which the subsetting is defined by the values of categorical variables.
This is a major release that incorporates several new features.
Automatic variable coloring using gradients.
More compact display (reduced node separation and tighter margins).
The color of the root node can be specified using the
All missing-value nodes are colored white by default.
This can be changes using the
By default, the root node now has no title.
NOTE Display from version 0.1.4 can be obtained by specifying
variable-specific shades of blue
greater node separation
missing-value nodes have the same color (shade of blue) as all other nodes at that level
showlevels is now deprecated. Use
Legends, with marginal frequencies and percentages.
To put node labels on the same line as frequencies and percentages, specify
A new parameter,
squeeze takes a value between 0 and 1,
and controls how the tightly-packed the display is.
"Sequences" of variables can be displayed by specifying
%node=n% to show summary information only in specified node.
%trunc=n% to truncate the summary to the first n characters.
Settings for multi-way intersections can be specified with
parameters allow additional Graphviz attributes to be set.
Other new parameters: