This function chooses the correct function for sampling observation times.
simulate_time(npoints, censortime, id, index, max_datapoints)
numeric value indicating the number of observations to be sampled.
numeric value indicating the maximum time point to include in the analysis.
subject id. Can be numeric or a character.
numeric identifier for each subject/model combination.
numeric value indicating the maximum number of data points collected from any subject.