Runs a conditional inference forest.

tidy_cforest(data, formula, seed = 1)

Arguments

data

dataframe

formula

formula

seed

seed integer

Value

a cforest model

Examples


iris %>%
tidy_cforest(
  tidy_formula(., Petal.Width)
) -> iris_cfor

iris_cfor
#> 
#> 	 Random Forest using Conditional Inference Trees
#> 
#> Number of trees:  500 
#> 
#> Response:  Petal.Width 
#> Inputs:  Sepal.Length, Sepal.Width, Petal.Length, Species 
#> Number of observations:  150 
#> 

iris_cfor %>%
visualize_model()