plotFrequencyHistogram {WebAnalytics}R Documentation

Plot histogram of response times for a transaction dataframe

Description

Generates a plot of response time frequencies.

Times are expressed in seconds.

The histogram bin width is a minimum of 0.1 seconds, or 1/200 of the maximum elapsed time. The graph tries to show a minimum of 20 bins (2 seconds), for data with very small elapsed times this can lead to graphs with significant empty space on the right.

If the maximum elapsed is greater than 99 seconds, the x axis labels are rotated so that they do not overlap.

Usage

plotFrequencyHistogram(theDf) 

Arguments

theDf

a transaction data frame

Value

Returns a ggplot2 plot. This function is intended to be wrapped in a call to plotSaveGG

Author(s)

Greg Hunt <greg@firmansyah.com>

Examples


logFileName = logFileNamesGetLast(dataDirectory=datd, 
  directoryNames=c(".", "."), 
  fileNamePattern="*[.]log")[[1]]

cols = logFileFieldsGetIIS(logFileName)

logdf = logFileRead(logFileName, columnList=cols, 
            logTimeZone = "", timeFormat = "")

plotFrequencyHistogram(logdf) 

[Package WebAnalytics version 0.9.12 Index]