Description Usage Arguments Examples
View source: R/rpart2pseudo_code.R
Metaprogramming function to return java code from rpart object
1 2 3 4 5 6 7 | rpart2pseudo_code(
frame,
f_depth = 1,
f_row_order = 1,
sep_char = " ",
english_output = c("0", "1")
)
|
frame |
This should be rpart$frame that has been supplied by prepare_rpart4code.R |
f_depth |
Please don't change this. It's only meant to change itself during recursion. |
f_row_order |
Please don't change this. It's only meant to change itself during recursion. |
1 | prepare_rpart4code(tree_2010_2015) %>% rpart2pseudo_code() %>% message()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.