expandEventCount: Expand event counts into a list of event times

Description Usage Arguments Details Value Examples

View source: R/expander.R

Description

This function exists to allow clinical trial data which typically gives event counts over time to be plugged into this software, which relies on actual event counts.

Usage

1

Arguments

count

a vector of event counts. All entries must be non-negative.

time

a matching (strictly positive) vector of followup times.

Details

This function always produces a warning: anyone relying on this function to actually analyze data should take great care.

Value

a list of vectors of event times

Examples

1
expandEventCount(count=c(0, 20), time=c(10, 20))

scientific-computing-solutions/dejaVu documentation built on May 29, 2019, 3:44 p.m.