Skip to main content

builtin_coef

Function builtin_coef 

Source
fn builtin_coef(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Extract coefficients from a model object.

Extracts the $coefficients component from a fitted model (e.g. lm).

@param object a fitted model object with a coefficients component @return a named numeric vector of coefficients