plot.coefficients {pcutils}R 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


[Package pcutils version 0.2.6 Index]