Draw one bootstrap resample, by patient when a cluster is declared
Source:R/resampling.R
mm_resample.RdWith repeated observations on the same patient, resampling rows treats two visits by one person as two independent facts. That narrows every interval it touches. When the project declares a cluster, whole patients are drawn instead, which is what the specification's clustered design asks for.