plotDensity | R Documentation |
The function plots the density curves based on the regression model against the actual percentiles from the raw data. As in 'plotNormCurves', please check for inconsistent curves, especially curves showing implausible shapes as f. e. violations of biuniqueness.
plotDensity(
model,
minRaw = NULL,
maxRaw = NULL,
minNorm = NULL,
maxNorm = NULL,
group = NULL,
covariate = NULL
)
model |
The model from the bestModel function or a cnorm object |
minRaw |
Lower bound of the raw score |
maxRaw |
Upper bound of the raw score |
minNorm |
Lower bound of the norm score |
maxNorm |
Upper bound of the norm score |
group |
Column of groups to plot |
covariate |
In case, a covariate has been used, please specify the degree of the covariate / the specific value here. |
plotNormCurves, plotPercentiles
Other plot:
plot.cnorm()
,
plotDerivative()
,
plotNormCurves()
,
plotNorm()
,
plotPercentileSeries()
,
plotPercentiles()
,
plotRaw()
,
plotSubset()
# Load example data set, compute model and plot results for age values 2, 4 and 6
result <- cnorm(raw = elfe$raw, group = elfe$group)
plotDensity(result, group = c (2, 4, 6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.