rpart2r_vec: Metaprogramming function to return vectorized R code from...

Description Usage Arguments Examples

View source: R/rpart2r_vec.R

Description

Metaprogramming function to return vectorized R code from rpart object

Usage

1
rpart2r_vec(frame, f_depth = 1, f_row_order = 1, sep_char = "\t")

Arguments

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.

Examples

1
prepare_rpart4code(tree_2010_2015) %>% rpart2r() %>% message()

jakubkovac/Lori documentation built on Jan. 9, 2020, 9:49 p.m.