library(grmtree)
# Control with 50 trees using subsampling
ctrl <- grmforest.control(n_tree = 50, sampling = "subsample")
# Control with specific tree parameters
ctrl <- grmforest.control(
control = grmtree.control(minbucket = 30, alpha = 0.01)
)
Run the code above in your browser using DataLab