derivationTable {cNORM}R Documentation

Create a table based on first order derivative of the regression model for specific age

Description

In order to check model assumptions, a table of the first order derivative of the model coefficients is created.

Usage

derivationTable(
  A,
  model,
  minNorm = NULL,
  maxNorm = NULL,
  step = 0.1,
  covariate = NULL
)

Arguments

A

the age

model

The regression model or a cnorm object

minNorm

The lower bound of the norm value range

maxNorm

The upper bound of the norm value range

step

Stepping parameter with lower values indicating higher precision

covariate

In case, a covariate has been used, please specify the degree of the covariate / the specific value here.

Value

data.frame with norm scores and the predicted scores based on the derived regression function

See Also

plotDerivative, derive

Other predict: getNormCurve(), normTable(), predictNorm(), predictRaw(), rawTable()

Examples

# Generate cnorm object from example data
cnorm.elfe <- cnorm(raw = elfe$raw, group = elfe$group)

# retrieve function for time point 6
d <- derivationTable(6, cnorm.elfe, step = 0.5)


[Package cNORM version 2.0.3 Index]