Learn R Programming

bonsaiforest (version 0.1.1)

compare: Compare Treatment Estimate Methods

Description

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

Usage

compare(...)

Value

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

Arguments

...

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

Examples

Run this code
compare(naivepop_fit_surv, naive_fit_surv, elastic_net_fit_surv)

Run the code above in your browser using DataLab