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(model, minAge = NULL, maxAge = NULL, minNorm = NULL,
  maxNorm = NULL, digits = 3)

Arguments

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

Value

the report

Examples

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

[Package cNORM version 1.2.0 Index]