Description Usage Arguments Details Value See Also Examples
Generate R analysis scripts prefilled with database queries, data processing, plotting functions, and plot saving. When finished either source the .R file, set the function to source it automatically, or edit the plotting functions for the specific details of the analysis.
1 2 |
filename |
The resulting name of the .R script |
csid |
The CSID(s) to process in the script |
plots |
List of plots to include |
run |
Whether to source the resulting analysis script, defaults to FALSE |
username |
Database username, password defaults to a .pgpass password (highly recommended) |
tex |
TRUE to compile a Beamer presentation of the generated figures, defaults to FALSE |
A total list of available plot functions arein the See Also section under other skeletonPlots.
Plot functions passed to skeleton need to take no input and output a list of named character vectors for data, plot, etc.
Writes the analysis script of csid to make plots to the file filename
Other skeletonPlots: batteryTimeSeries
,
downloadTimeSeries
,
lteNoiseTimeSeries
,
ltePowerTimeSeries
,
temperatureTimeSeries
,
timeSeries
, uploadTimeSeries
;
boxPlot
, dataspeedBoxPlot
,
downloadAccessBoxPlot
,
downloadTTFBBoxPlot
,
downloadTaskBoxPlot
,
emailAccessBoxPlot
,
emailTaskBoxPlot
,
ldrAccessBoxPlot
,
ldrTaskBoxPlot
,
lteNoiseBoxPlot
,
ltePowerBoxPlot
,
uploadAccessBoxPlot
,
uploadTaskBoxPlot
;
callFailureBarChart
;
callFailureMap
,
m2mFailureMap
,
twilioFailureMap
; cdfPlot
,
udpDropCDF
, udpDropSizeCDF
,
udpLatencyCDF
,
udpLatencySizeCDF
;
downloadSuccessPlot
,
emailSuccessPlot
,
ldrSuccessPlot
, successPlot
,
uploadSuccessPlot
;
execRootscores
;
networkTechnologyBar
;
plotUnitTest
;
rootscoreBarChart
1 2 3 4 5 6 7 8 9 | ## Make a few basic plots for a scout of Edimburgh and run resulting script
skeleton("edinburgh", 3138,
list(downloadTimeSeries, uploadTimeSeries,
downloadBoxPlot, uploadBoxPlot,
twilioFailureMap, m2mFailureMap), run = TRUE)
## Make a full report of Edinburgh and compile it
skeleton("edinburgh", 3138,
plotUnitTest(), run = TRUE, tex = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.