plot.coefficients: Plot coefficients as a bar chart or lollipop chart

plot.coefficientsR Documentation

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 class '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

Value

ggplot

See Also

lm_coefficients


pcutils documentation built on June 26, 2024, 1:06 a.m.