Learn R Programming

cNORM (version 3.3.1)

regressionFunction: Regression function

Description

The method builds the regression function for the regression model, including the beta weights. It can be used to predict the raw scores based on age and location.

Usage

regressionFunction(model, raw = NULL, digits = NULL)

Value

The regression formula as a string

Arguments

model

The regression model from the bestModel function or a cnorm object

raw

The name of the raw value variable (default 'raw')

digits

Number of digits for formatting the coefficients

See Also

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

Examples

Run this code
result <- cnorm(raw = elfe$raw, group = elfe$group)
regressionFunction(result)

Run the code above in your browser using DataLab