R/statistics.R
plot.coefficients.Rd
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, ...)
The coefficients to be plotted.
The mode of the plot: 1 for bar chart, 2 for lollipop chart.
show number
order of variables
add
ggplot
lm_coefficients