plotResponseTimeScatter {WebAnalytics}R Documentation

Generates a scatter plot of response times

Description

Scatter plot (base graphics object) of response times from a data. The log form uses a log10 y axis.

Usage

plotLogResponseTimeScatter(times, elapsed,timeDivisor = 1000, ylabText = "Time (log sec)") 
plotResponseTimeScatter(times, elapsed,timeDivisor = 1000, ylabText = "Time (sec)") 

Arguments

times

POSIXct timestamps

elapsed

elapsed milliseconds

timeDivisor

divisor to adjust times to seconds (the default value of 1000) or some other interval

ylabText

divisor to adjust times to seconds (the default value of 1000) or some other interval

Value

Generates a base graphics plot. This function is intended to be wrapped in a call to plotSave

Author(s)

Greg Hunt <greg@firmansyah.com>

See Also

savePlot

Examples


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

cols = logFileFieldsGetIIS(logFileName)

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

plotResponseTimeScatter(logdf$ts, logdf$elapsed) 
plotLogResponseTimeScatter(logdf$ts, logdf$elapsed) 

[Package WebAnalytics version 0.9.12 Index]