rangeCheck {cNORM}R Documentation

Check for horizontal and vertical extrapolation

Description

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.

Usage

rangeCheck(
  object,
  minAge = NULL,
  maxAge = NULL,
  minNorm = NULL,
  maxNorm = NULL,
  digits = 3,
  ...
)

Arguments

object

The regression model or a cnorm object

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

...

additional parameters

Value

the report

See Also

Other model: bestModel(), checkConsistency(), cnorm.cv(), derive(), modelSummary(), print.cnorm(), printSubset(), regressionFunction(), summary.cnorm()

Examples

normData <- prepareData(elfe)
m <- bestModel(normData)
rangeCheck(m)

[Package cNORM version 2.0.3 Index]