PlotResolutionTimeByDay: Plot hours to resolution by day of week

Description Usage Arguments Details Author(s)

Description

This function plots the chosen value of resolution time (in

hours) and produces a box plot of those values as a function of day.

Day levels include those assigned from the AssignDateAndDay

function.

Usage

1
PlotResolutionTimeByDay(dF, resTime = "first", ...)

Arguments

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 "full".

...

Arguments to be passed to other functions. Specifically, this can take

the form of identifying which date value is of interest. For example

the sample datasets provided all had either at least assigned_at

or created_at values. The AssignDateAndDay can used

either of these values as the date of interest.

Details

This function calls the AssignDateAndDay function to

assign the day values used.

Resolution time in all sample dataFrames is a factor; this function

converts apparently numeric values to as.numeric

This functions converts values that are nan.0 to NA values.

Day of week levels in some of the sample data are represented by the

days of the week. For the purposes of this function, weeks begin on

Monday and continue through Sunday.

Boxes in the plot that is produced from this function can help

managers understand the resolution time on any given dayOfWeek. 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 dayOfWeek 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

Author(s)

Steven H. Ranney Contact: Steven.Ranney@gmail.com

Steven Ranney


stevenranney/ispiranteRanney documentation built on May 30, 2019, 4:46 p.m.