plotRaw | 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(model, group = FALSE, raw = NULL, type = 0)
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 |
Other plot:
compare()
,
plot.cnorm()
,
plot.cnormBetaBinomial()
,
plot.cnormBetaBinomial2()
,
plotDensity()
,
plotDerivative()
,
plotNorm()
,
plotNormCurves()
,
plotPercentileSeries()
,
plotPercentiles()
,
plotSubset()
# Compute model with example dataset and plot results
result <- cnorm(raw = elfe$raw, group = elfe$group)
plotRaw(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.