plotRaw {cNORM} | R Documentation |
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(data, model, group = NULL, raw = NULL, type = 0)
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 |
Other plot:
plot.cnorm()
,
plotDensity()
,
plotDerivative()
,
plotNormCurves()
,
plotNorm()
,
plotPercentileSeries()
,
plotPercentiles()
,
plotSubset()
# Compute model with example dataset and plot results result <- cnorm(raw = elfe$raw, group = elfe$group) plotRaw(result)