extract_coefs {catalytic} | R Documentation |
Extract and Format Model Coefficients
Description
This function retrieves the coefficients from a x
object, formats them
with appropriate names, and rounds each coefficient to the specified number of decimal places.
Optionally, the intercept can be included or excluded from the output.
Usage
extract_coefs(x, digit = 3)
Arguments
x |
A model object generated from |
digit |
An integer specifying the number of decimal places for rounding coefficients. Default is 3. |
Value
A named numeric vector of model coefficients, rounded to the specified number of decimal places.
[Package catalytic version 0.1.0 Index]