expandEventCount {dejaVu} | R Documentation |
Expand event counts into a list of event times
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
expandEventCount(count, time)
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
expandEventCount(count=c(0, 20), time=c(10, 20))
[Package dejaVu version 0.3.1 Index]