plotRaw {cNORM}R Documentation

Plot manifest and fitted raw scores

Description

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.

Usage

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

Arguments

data

The raw data within a data.frame or cnorm object

model

The regression model (optional)

group

The grouping variable

raw

The raw score variable

type

Type of display: 0 = plot manifest against fitted values, 1 = plot manifest against difference values

See Also

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

Examples

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

[Package cNORM version 2.0.3 Index]