repeatability: Repeatability.

View source: R/repeatability.R

repeatabilityR Documentation

Repeatability.

Description

Estimate the repeatability of a measure's scores across two time points.

Usage

repeatability(measure1, measure2)

Arguments

measure1

Vector of scores from the measure at time 1.

measure2

Vector of scores from the measure at time 2.

Details

Estimates the coefficient of repeatability (CR), bias, and the lower and upper limits of agreement (LOA).

Value

Dataframe with the coefficient of repeatability (CR), bias, the lower limit of agreement (lowerLOA), and the upper limit of agreement (upperLOA). Also generates a Bland-Altman plot with a solid black reference line (indicating a difference of zero), a dashed red line indicating the bias, and dashed blue lines indicating the limits of agreement.

See Also

Other reliability: reliabilityOfDifferenceScore()

Examples

v1 <- rnorm(1000, mean = 100, sd = 15)
v2 <- v1 + rnorm(1000, mean = 1, sd = 3)
repeatability(v1, v2)

petersenlab documentation built on May 29, 2024, 8:34 a.m.