rbind.Surv: Appending 'Surv' objects

View source: R/rbind.Surv.R

rbind.SurvR Documentation

Appending Surv objects

Description

rbind method for Surv objects

Usage

## S3 method for class 'Surv'
rbind(...)

Arguments

...

Surv objects

Value

Surv object

Author(s)

Klaus K. Holst

Examples


y <- yl <- yr <- rnorm(10)
yl[1:5] <- NA; yr[6:10] <- NA
S1 <- survival::Surv(yl,yr,type="interval2")
S2 <- survival::Surv(y,y>0,type="right")
S3 <- survival::Surv(y,y<0,type="left")

rbind(S1,S1)
rbind(S2,S2)
rbind(S3,S3)


lava documentation built on May 29, 2024, 3:10 a.m.