powered by
Function to create a data set with the results for all the methods in order to compare them.
compare(...)
List with a data.frame of the estimated subgroup treatment effects, with the overall treatment effect and with the response type of our data.
data.frame
Objects of class bonsaiforest. We write them separated by a comma.
bonsaiforest
compare(naivepop_fit_surv, naive_fit_surv, elastic_net_fit_surv)
Run the code above in your browser using DataLab