Learn R Programming

iccTraj (version 1.0.4)

ICC: 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)

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).

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.