plot.coefficients | R Documentation |
This function takes the coefficients and generates a plot to visualize their magnitudes.
## S3 method for class 'coefficients'
plot(x, mode = 1, number = FALSE, x_order = NULL, ...)
x |
The coefficients to be plotted. |
mode |
The mode of the plot: 1 for bar chart, 2 for lollipop chart. |
number |
show number |
x_order |
order of variables |
... |
add |
ggplot
lm_coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.