plotRaw function

Plot manifest and fitted raw scores

Plot manifest and fitted raw scores

The function plots the raw data against the fitted scores from the regression model per group. This helps to inspect the precision of the modeling process. The scores should not deviate too far from regression line.

plotRaw(model, group = FALSE, raw = NULL, type = 0)

Arguments

  • model: The regression model from the 'cnorm' function
  • group: Should the fit be displayed by group?
  • raw: Vector of the observed raw data
  • type: Type of display: 0 = plot manifest against fitted values, 1 = plot manifest against difference values

Examples

# Compute model with example dataset and plot results result <- cnorm(raw = elfe$raw, group = elfe$group) plotRaw(result)

See Also

Other plot: compare(), plot.cnorm(), plot.cnormBetaBinomial(), plot.cnormBetaBinomial2(), plotDensity(), plotDerivative(), plotNorm(), plotNormCurves(), plotPercentileSeries(), plotPercentiles(), plotSubset()