Skip to contents

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.