plotter | R Documentation |
This is a simplified plotting utility that allows visual checking of decision
tree models. By default, the node names, costs, HRQoLs are displayed as well
as the edge probabilities. The node attributes to display can be specified in
varz
. The boolean edgelabel
variable allows turning the edge labels off.
plotter(node, varz = c("name", "cost", "qol"), edgelabel = TRUE)
node |
a |
varz |
Variables |
edgelabel |
Edge labels |
DiagrammeR
object
Pete Dodd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.