simExternal.Rd
Function to simulate studies that mimic the infection duration data from Duong et al. 2015 (or another external dataset)
simExternal(nsims, phi.func = NULL, ext_df = NULL)
Number of study simulations
Optional recency test-positive function
A dataset with column "duration" and column for binary "recent" indicator
List of data frames with an id, time, and recency indicator