- df
The target data frame from which the point ranges are plotted.
- orientation
A string that sets the orientation/direction of the segments.
Acceptable values are either "vertical" (the default) or "horizontal".
- factor_var
A required variable name from 'df' that sets the factor/discreet variable for segment positioning.
- min_meas
A required variable name from 'df' that defines the minimum values for each segment.
- max_meas
A required variable name from 'df' that defines the maximum values for each segment.
- labels
A character variable from 'df' that defines the actual label for each segment.
- labels_meas
An optional variable name from 'df' that sets the value for a labelled point on each segment.
- labels_fill
A string that sets the fill color of the labelled point on the segments.
- labels_hjust
A numeric that adjust the 'labels' in the horizontal direction.
- labels_vjust
A numeric that adjust the 'labels' in the vertical direction.
- title
A string that sets the plot title.
- subtitle
A string that sets the plot subtitle.
- caption
A string that sets the plot caption
- center_titles
A logical which if TRUE centers both the 'title'
and 'subtitle'.
- factor_title
A string that sets the axis title the factor.
- meas_title
A string that sets the axis title for the measures.
- hide_x_tics
A logical that controls the appearance of the x axis tics.
- hide_y_tics
A logical that controls the appearance of the y axis tics.
- rot_x_tic_angle
A numeric that sets the angle of rotation for the x tic labels.
When factor tic labels are long, a value of 40 for this argument usually works well.
- rot_y_tic_label
A logical which if TRUE rotates the y tic labels 90 degrees
for enhanced readability.
- meas_limits
A numeric 2 element vector that sets the minimum and maximum for the measure axis.
- meas_major_breaks
A numeric vector or function that defines the exact major tic locations along the measure axis.
- meas_minor_breaks
A numeric vector or function that defines the exact minor tic locations along the measure axis.
- meas_labels
A character vector with the same length as 'meas_major_breaks', that labels the major tics.
- meas_log10
A logical which if TRUE will use a log10 scale for the measure axis.
- meas_padding
A numeric 2 element vector that pads the measure axis scale.
- axis_text_size
A numeric that sets the font size along the axis'. Default is 11.
- pts_shape
A numeric integer that sets the shape of the points. Typical values are 21 "circle",
22 "square", 23 "diamond", 24 "up triangle", 25 "down triangle".
- pts_stroke
A numeric that sets the outline width for a point shape.
- pts_stroke_color
A string that sets the point's outline color.
- pts_size
A numeric that sets the point size.
- pts_fill
A string vector that sets the colors of the lower and upper points.
The default is c("green", "red").
- line_type
A string that sets the segment line type "twodash", "solid", "longdash", "dotted", "dotdash",
"dashed", "blank".
- line_width
A numeric that sets the width of the segments.
- line_pts_alpha
A numeric value that sets the alpha level of points.
- panel_color
A string in hexidecimal or color name that sets the plot panel's color.
The default is "white".
- panel_border_color
A string in hexidecimal or color name that sets the plot panel's border color.
The default is "black".
- show_major_grids
A logical that controls the appearance of major grids.
- show_minor_grids
A logical that controls the appearance of minor grids.
- silent_NA_warning
A logical that controls the appearance of a console warning when Na's
are removed.
- png_file_path
A character string with the directory and file name to produce
a png image of the plot.
- png_width_height
A numeric vector that sets the width and height of the png image in pixels. The
default is c(480,480). There are 37.8 pixels in a centimeter.