label_intervals: Create character vector of interval labels

Description Usage Arguments

View source: R/split-survival-data.R

Description

Create character vector of interval labels

Usage

1
label_intervals(tstart, tend, right_closed = TRUE)

Arguments

tstart

Vector of interval start times.

tend

Vector of interval end times.

right_closed

Logical. If TRUE (default), intervals are assumed right_closed closed and left open. If FALSE left closed and right_closed open.


adibender/ldatools documentation built on March 7, 2020, 5:30 a.m.