Computes the intraclass correlation coefficient (ICC) using a matrix of distances.
ICC(X, nt)
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).
Matrix with the pairwise distances.
Data frame with the number of trips by subject
The intraclass correlation coeffcient is estimated using the distance matrix among trajectories.