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)