boot_ICC: Generates a bootstrap sample and estimates the ICC

View source: R/functions.R

boot_ICCR Documentation

Generates a bootstrap sample and estimates the ICC

Description

Generates a bootstrap sample and estimates the ICC

Usage

boot_ICC(X, nt, Bmat, indB)

Arguments

X

Data frame with the pairwise distances

nt

Data frame with the number of trips by subject

Bmat

Matrix with subjects identifiers in the resamples

indB

Column in Bmat that geenrates the resample

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


iccTraj documentation built on June 8, 2025, 10:06 a.m.

Related to boot_ICC in iccTraj...