remove_clicks: Remove clicks from subdistribution curves for reconstructing CIC
Description
When there are fewer clicks in the composite (overall) outcome curve,
we need to remove them from the subdistribution curves. Find the time points
in the subdistribution data that are furthest away from the composite curve times,
remove those times.
Usage
remove_clicks(clicksDF, targetTimes, nRemove)
Value
A clicksDF with fewer rows.
Arguments
clicksDF
A data frame with the two columns time and cuminc.