rangeCheck {cNORM} | R Documentation |
Regression model only work in a specific range and extrapolation horizontally (outside the original range) or vertically (extreme norm scores) might lead to inconsistent results. The function generates a message, indicating extrapolation and the range of the original data.
rangeCheck(model, minAge = NULL, maxAge = NULL, minNorm = NULL, maxNorm = NULL, digits = 3)
model |
The regression model |
minAge |
The lower age bound |
maxAge |
The upper age bound |
minNorm |
The lower norm value bound |
maxNorm |
The upper norm value bound |
digits |
The precision for rounding the norm and age data |
the report
normData <- prepareData() m <- bestModel(normData) print(rangeCheck(m))