rangeCheck: Check for horizontal and vertical extrapolation

View source: R/modelling.R

rangeCheckR 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

m <- cnorm(raw = elfe$raw, group = elfe$group)
rangeCheck(m)

cNORM documentation built on Nov. 4, 2024, 5:07 p.m.