regressionFunction function

Regression function

Regression function

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.

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

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

Returns

The regression formula as a string

Examples

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

See Also

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