basebind: Function used to combine baseline functions in one plot

View source: R/plot.R

basebindR 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))

reReg documentation built on Sept. 20, 2023, 9:07 a.m.