percentileBaselinePrint {WebAnalytics}R Documentation

Print a LaTeX table comparing current and baseline values and return a bar graph of the same data

Description

Calculate quantile values for a supplied numeric list. This is a wrapper around the R quantile function.

Usage

percentileBaselinePrint(column, 
        baselineColumn, 
        columnNames = c("Delta", "Current", "Baseline", "Percentile")) 

Arguments

column

a vector of numeric values from the current dataset The values will be rounded to two decimal places before calculation.

baselineColumn

a vector of numeric values from the baseline data. The values will be rounded to two decimal places before calculation.

columnNames

names of the columns in the table that is printed by this function.

Value

Returns a ggplot graph of the data.

Author(s)

Greg Hunt <greg@firmansyah.com>

Examples



fileNameList = logFileNamesGetAll(dataDirectory=datd)

logdf = logFileListRead(fileNameList, 
          readFunction=logFileRead, 
          columnList=logFileFieldsGetIIS(fileNameList[[1]]))

logbasedf = logFileListRead(fileNameList, 
          readFunction=logFileRead, 
          columnList=logFileFieldsGetIIS(fileNameList[[1]]))
plotWriteFilenameToLaTexFile(
  plotSaveGG(
    percentileBaselinePrint(logdf$elapsed, 
              logbasedf$elapsed, 
              columnNames = c("Delta", "Current", "Baseline", "Percentile"))
    , "xxx")
    )



[Package WebAnalytics version 0.9.12 Index]