Generates a bootstrap sample and estimates the ICC
boot_ICC(X, nt, Bmat, indB)
Data frame with the estimates of the ICC (r), the subjects' mean sum-of-squares (MSA), the between-subjects variance (sb), the total variance (st), and the within-subjects variance (se).
Data frame with the pairwise distances
Data frame with the number of trips by subject
Matrix with subjects identifiers in the resamples
Column in Bmat that geenrates the resample