scatterPlot: Draw Scatter Plots of Edited Dataset

Description Usage Arguments Details

View source: R/ModelChecking.R

Description

Compare scatter plots of the input dataset and the edited dataset.

Usage

1
scatterPlot(model.obj, data.obj=NULL, xvar=NULL, yvar=NULL)

Arguments

model.obj

Rcpp_bei model-object generated from createModel.

data.obj

EditIn.data object generated from readData. This is used to draw the lines to indicate ratio edits.

xvar

variable to draw on X-axis. If NULL, plots are drawn for all variables in turn.

yvar

variable to draw on Y-axis. If NULL, plots are drawn for all variables in turn.

Details

Draw the scatter plots of log transformed values of the input data (model.obj$Y.input, left panel) and the edit-imputed data (model.obj$Y.edit, right panel). The sky-blue dots on the background represent edit-passing records which are identical for both datasets. The blue dots on the left panel shows the edit-failing records in the original data and those on the right panel shows their edited values. The red dotted lines (if any) show the ratio edits of two log-transformed variables.


EditImputeCont documentation built on March 26, 2020, 7:15 p.m.