This function is primarily meant to be used within the TungUbRF() function. All parameters are same as in TungUbRF().
genRF(
formula = NULL,
train_data = NULL,
pred_data = NULL,
num_trees = num_trees,
min_node_size = NULL,
m_try = NULL,
keep_inbag = TRUE,
intervals = TRUE,
alpha = alpha,
forest_type = "RF",
importance = "none",
weights = NULL,
num_threads = num_threads
)