Description Usage Arguments Details Examples
Plot the prism or hprism model
1 |
l |
An rpart output used to plot prism or hprism tree |
color |
Color of the boxes around the text. Defalt value in 2. |
extra |
Display extra information at the nodes. Default value is 1. |
type |
Type of plot. Defual value is 1. |
digit |
number of significant digits in displayed numbers. Default value is 4. |
This function calls the prp R function in the rpart.plot package which provides prettier more customizable tree plots. Details about how to customize the plot by specifying different values of parameters extra and type can be found in prp
help file in rpart.plot package.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.