Learn R Programming

petersenlab (version 1.1.0)

repeatability: Repeatability.

Description

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

Usage

repeatability(measure1, measure2)

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.

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

See Also

Other reliability: reliabilityOfDifferenceScore()

Examples

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

Run the code above in your browser using DataLab