drawBaseline {penetrance} | R Documentation |
Draw Ages Using the Inverse CDF Method from the baseline data
Description
This function draws ages using the inverse CDF method from baseline data.
Usage
drawBaseline(baseline_data)
Arguments
baseline_data |
A data frame containing baseline data with columns 'cum_prob' and 'age'. |
Value
A single age value drawn from the baseline data.
[Package penetrance version 0.1.1 Index]