plot_kwargs {dabestr} | R Documentation |
Adjustable Plot Aesthetics
Description
These are the available plot kwargs for adjusting the plot aesthetics of your estimation plot:
-
swarm_label
Default "value" or "proportion of success" for proportion plots. Label for the y-axis of the swarm plot. -
contrast_label
Default "effect size", based on the effect sizes as given ineffect_size()
. Label for the y-axis of the contrast plot. -
delta2_label
Default NULL. Label for the y-label for the delta-delta plot. -
swarm_x_text
Default 11. Numeric value determining the font size of the x-axis of the swarm plot. -
swarm_y_text
Default 15. Numeric value determining the font size of the y-axis of the swarm plot. -
contrast_x_text
Default 11. Numeric value determining the font size of the x-axis of the delta plot. -
contrast_y_text
Default 15. Numeric value determining the font size of the y-axis of the delta plot. -
swarm_ylim
Default NULL. Vector containing the y limits for the swarm plot -
contrast_ylim
Default NULL. Vector containing the y limits for the delta plot. -
delta2_ylim
Default NULL. Vector containing the y limits for the delta-delta plot. -
raw_marker_size
Default 1.5. Numeric value determining the size of the points used in the swarm plot. -
tufte_size
Default 0.8. Numeric value determining the size of the tufte line in the swarm plot. -
es_marker_size
Default 0.5. Numeric value determining the size of the points used in the delta plot. -
es_line_size
Default 0.8. Numeric value determining the size of the ci line in the delta plot. -
raw_marker_alpha
Default 1. Numeric value determining the transparency of the points in the swarm plot. -
raw_bar_width
Default 0.3. Numeric value determining the width of the bar in the sankey diagram. -
raw_marker_spread
Default 2. The distance between the points if it is a swarm plot. -
raw_marker_side_shift
Default 0. The horizontal distance that the swarm plot points are moved in the direction of theasymmetric_side
. -
asymmetric_side
Default "right". Can be either "right" or "left". Controls which side the swarm points are shown. -
show_delta2
Default FALSE. Boolean value determining if the delta-delta plot is shown. -
show_mini_meta
Default FALSE. Boolean value determining if the weighted average plot is shown. If False, the resulting graph would be identical to a multiple two-groups plot. -
show_zero_dot
Default TRUE. Boolean value determining if there is a dot on the zero line of the effect size for the control-control group. -
show_baseline_ec
Default FALSE. Boolean value determining whether the baseline curve is shown. -
sankey
Default TRUE. Boolean value determining if the flows between the bar charts will be plotted. -
raw_flow_alpha
Default 0.5. Numeric value determining the transparency of the sankey flows in a paired proportion plot. -
flow
Default TRUE. Boolean value determining whether the bars will be plotted in pairs. -
custom_palette
Default "d3". String. The following palettes are available for use: npg, aaas, nejm, lancet, jama, jco, ucscgb, d3, locuszoom, igv, cosmic, uchicago, brewer, ordinal, viridis_d.