rmst_ic: Calculate the restricted mean survival time for interval...

Description Usage Arguments Value Examples

View source: R/rmst_ic.R

Description

Calculate the restricted mean survival time for interval censored data

Usage

1
rmst_ic(left, right, tau, subset = NULL)

Arguments

left

numeric vector of left endpoints of censoring interval

right

numeric vector of right endpoints of censoring interval

tau

time horizon

Value

numeric

Examples

1
2
3
library(interval)
data(bcos)
rmst_ic(bcos$left, bcos$right, tau = 30)

a-chernofsky/project2 documentation built on Oct. 21, 2021, 10:23 p.m.