total_bias_plot: Plot total bias

View source: R/total_bias_plot.R

total_bias_plotR Documentation

Plot total bias

Description

This function draws the "total bias plot", which is used to visually assess the amount of bias. It is obtained by graphing the bias versus the BLUP of the latent trait, x, along with the 95% simultaneous confidence bands.

Usage

total_bias_plot(object, object2 = NULL)

Arguments

object

list returned by measure_compare function.

object2

(optional) returned by measure_compare function. If provided, will plot a second total bias estimate.

Examples


### Load the data
data(data1)
### Analysis
measure_model <- measure_compare(data1, nb_simul=100)
### Plot the total bias
total_bias_plot(measure_model)

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