Description Usage Arguments Examples
this function takes the output of the partykit::ctree function and prints the tree into a pdf file, located in the specified folder. It computes the depth and width and tries to create a pdf with the right dimensions.
1 | treetopdf(partykitctree, savepath)
|
partykitctree: |
an output of partykit::ctree |
savepath: |
a file path where to store the pdf of the plot |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.