Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

basebind

Function used to combine baseline functions in one plot


Description

Combine different plots into one.

Usage

basebind(..., legend.title, legend.labels)

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.

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

Recurrent Event Regression

v1.4.0
GPL (>= 3)
Authors
Sy Han (Steven) Chiou [aut, cre], Chiung-Yu Huang [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.