agreement1: Plot the agreement after recalibration

View source: R/agreement1.R

agreement1R Documentation

Plot the agreement after recalibration

Description

This function draws the "agreement plot" after recalibration, which is used to visually appraise the degree of agreement between the new and reference methods, before recalibration of the new method. It is obtained by graphing a scatter plot of y1-y2 (difference of the methods) versus the BLUP of the latent trait, x, along with the bias and 95% limits of agreement with their 95% simultaneous confidence bands. The function adds a second scale on the right axis, showing the percentage of agreement index.

Usage

agreement1(object)

Arguments

object

list returned by measure_compare function.

Examples


### Load the data
data(data1)
### Analysis
measure_model <- measure_compare(data1, nb_simul=100)
### Plot the agreement after recalibration
agreement0(measure_model)

MethodCompare documentation built on Sept. 11, 2024, 5:07 p.m.