plot.coefficients: Plot coefficients as a bar chart or lollipop chart
Description
This function takes the coefficients and generates a plot to visualize their magnitudes.
Usage
# S3 method for coefficients
plot(x, mode = 1, number = FALSE, x_order = NULL, ...)
Arguments
- 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