ICC {iccTraj} | R Documentation |
Computes the intraclass correlation coefficient (ICC) using a matrix of distances.
Description
Computes the intraclass correlation coefficient (ICC) using a matrix of distances.
Usage
ICC(X, nt)
Arguments
X |
Matrix with the pairwise distances. |
nt |
Data frame with the number of trips by subject |
Details
The intraclass correlation coeffcient is estimated using the distance matrix among trajectories.
Value
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).
[Package iccTraj version 1.0.4 Index]