Skip to contents

This function simulates cases from a uniform distribution, where the primary event times are uniformly distributed between 0 and t.

Usage

simulate_uniform_cases(sample_size = 1000, t = 60)

Arguments

sample_size

The number of cases to simulate.

t

Upper bound of the uniform distribution to generate primary event times.

Value

A data.frame with two columns: case (case number) and ptime (primary event time).