extract_coefs | R Documentation |
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.
extract_coefs(x, digit = 3)
x |
A model object generated from |
digit |
An integer specifying the number of decimal places for rounding coefficients. Default is 3. |
A named numeric vector of model coefficients, rounded to the specified number of decimal places.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.