Skip to contents

Function to obtain a forest plot with all the different fitted models in order to compare their performance.

Usage

# S3 method for compare.data
plot(x, ...)

Arguments

x

(compare.data)
object with the data of treatment effects estimated with the different methods.

...

Additional arguments to plot.

Value

Forest plot with all the methods that are compared.

Examples

plot(compare(naivepop_fit_surv, naive_fit_surv, elastic_net_fit_surv))