PlotResolutionTimeByDate: Create a plot of the resolution time by date

Description Usage Arguments Details Author(s)

Description

This function plots the resolution time (in hours) and produces a box

plot of those values as a function of date level.

Usage

1
2
3
4
PlotResolutionTimeByDate(dF, resTime = "first", beginDate = min(dF$assignedDate), 


    endDate = max(dF$assignedDate), ...)

Arguments

dF

The dataFrame for which to plot resolution time by date level.

resTime

A character vector that indicates which resolution time

to plot. Other values include "full".

beginDate

A character that includes the beginning

date of interest. Value must

be in the form "yyyy-mm-dd",

e.g., "2014-01-01". The function will

default to the earliest date in the data frame.

endDate

A character that includes the end date

of interest. Value must be in the

form "yyyy-mm-dd", e.g., "2014-01-01".

The function will default to the latest

date in the data frame.

...

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

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.

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

managers understand the resolution time by date. 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.

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.