bias_plot: Bias plot

Description Usage Arguments Author(s) Examples

View source: R/bias_plot.R

Description

This function draws the "bias plot", which is used to visually assess the bias of the new method relative to the reference method. It is obtained by graphing a scatter plot of y1 (new method) and y2 (reference method) versus the BLUP of y2 along with the two regression lines, and adds a second scale on the right axis showing the relationship between the estimated amount of bias and BLUP of y2.

Usage

1
bias_plot(object)

Arguments

object

an object returned by a call to measure_compare

Author(s)

Mingkai Peng & Patrick Taffé

Examples

1
2
3
4
5
6
### load the data
data(data1)
### analysis
measure_model <- measure_compare(data1)
### Bias plot
bias_plot(measure_model)

Example output

Loading required package: nlme

MethodCompare documentation built on Jan. 5, 2022, 9:06 a.m.