compare function

Compare Treatment Estimate Methods

Compare Treatment Estimate Methods

Function to create a data set with the results for all the methods in order to compare them.

compare(...)

Arguments

  • ...: Objects of class bonsaiforest. We write them separated by a comma.

Returns

List with a data.frame of the estimated subgroup treatment effects, with the overall treatment effect and with the response type of our data.

Examples

compare(naivepop_fit_surv, naive_fit_surv, elastic_net_fit_surv)