specs_coef_plot | R Documentation |
specs_coef_plot
produces the coefficient plot in a specification plot or standalone.
specs_coef_plot( coef_grid, palette = "green", coef_ylabel = "Coefficient estimate", coef_ylim = NULL, coef_xlabel = NULL, label_text_size = NULL, point_size = NULL, error_alpha = NULL, error_geom = NULL, error_width = 0, hline = NULL, pcolors = NULL, standalone = FALSE, ... )
coef_grid |
A dataframe with the following components:
|
palette |
Change the palette.
Default to |
coef_ylabel |
A string specifying the y-axis label on the coefficient panel.
Default to |
coef_ylim |
A numeric vector of length two indicating the
minimum and maximum values of the y-axis in the coefficient plot.
Default to |
coef_xlabel |
A string specifying the x-axis label on the coefficient panel.
Default to |
label_text_size |
A numeric scalar indicating how large the text for the
axis labels should be.
Default to |
point_size |
A numeric scalar indicating the size of the coefficient estimate points.
Default to |
error_alpha |
A numeric scalar indicating the alpha of the error geom.
Default to |
error_geom |
A string indicating the type of geom that should be used to
depict confidence intervals on coefficient estimates.
Currently supported are |
error_width |
A numeric scalar indicating the width of the error bar.
Default to 0 and only applicable when |
hline |
A numeric scalar indicating a horizontal line at value |
pcolors |
A named vector of colors for points by |
standalone |
A boolean to indicate whether this is a standalone plot or
part of a specification plot with a control grid panel.
Default to |
... |
Other arguments passed to |
A ggplot2
object depicting the coefficient plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.