bias_plot | R Documentation |
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 the latent trait, x
, along with the two regression lines.
The function adds a second scale on the right axis, showing the relationship
between the estimated amount of bias and BLUP of the latent trait, x
.
bias_plot(object)
object |
list returned by measure_compare function. |
### Load the data
data(data1)
### Analysis
measure_model <- measure_compare(data1, nb_simul=100)
### Plot the bias
bias_plot(measure_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.