basebind {reReg}R Documentation

Function used to combine baseline functions in one plot

Description

Combine different plots into one.

Usage

basebind(..., legend.title, legend.labels, control = list())

Arguments

...

ggplot objects created by plotting reReg objects.

legend.title

an optional character string to specify the legend title.

legend.labels

an optional character string to specify the legend labels.

control

a list of control parameters.

Examples

data(simDat)
fm <- Recur(t.stop, id, event, status) ~ x1 + x2
fit1 <- reReg(fm, subset = x1 == 0, data = simDat, B = 200)
fit2 <- reReg(fm, subset = x1 == 1, data = simDat, B = 200)
basebind(plot(fit1), plot(fit2))

[Package reReg version 1.4.6 Index]