Helper function to plot regression coeffcient
plot_coeff( tb, title_str, title_str_right, xlab_str, redline = 0, order = FALSE, separate = FALSE )
tb | A data frame |
---|---|
title_str | Title string for summary plot |
title_str_right | Title for bootstrap sample plot |
xlab_str | Label on x-axis |
redline | Point on x-axis to draw the red line |
order | Order the markers according to the mangintute of the coefficients |
separate | Plot both summary and bootstrap samples |
ggplot2
object or list of two objects if
separate is true