Description Usage Arguments Details Author(s)
This function plots the chosen value of resolution time (in
hours) and produces a box plot of those values as a function of priority
level.
1 | PlotResolutionTimeByPriority(dF, resTime = "first")
|
dF |
The dataFrame for which to plot resolution time by priority level. |
resTime |
A character vector that indicates which resolution time to plot. Other values include |
Resolution time in all sample dataFrames is factor
; this function
converts apparently numeric values to as.numeric
This functions converts values that are nan.0
to NA
.
Priority levels in some of the sample data are represented by five
different values: High
, Low
, Normal
, Urgent
,
and -
. Review of the sample data showed that the -
priority
level could not be determined to match any other level.
Boxes in the plot that is produced from this function can help
managers understand the resolution time of priority
level. If the
notches in a box overlap the heavy bar (i.e., the median resolution time)
in an adjacent box, then the resolution time for that priority level is not
significantly different than the resolution time in the adjacent plot. This
provides a quick, easy method of determining if priority
level really
has an affect on resolution time.
The red dots on a plot indicate outliers in the data set. In the
geom_boxplot
documentation, outliers are defined as data points
fall outside of 1.5 * IQR where IQR stands for the "Inter-Quartile
Range" of the data.
Plots are generated by the function ggplot
Steven H. Ranney
Contact: Steven.Ranney@gmail.com
Steven Ranney
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.