Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/uploadPattern.R
Creates an upload pattern plot for partially accruing data showing dates at which new data were received for each encounter date.
1 | uploadPattern(x, horizontal = FALSE, ...)
|
x |
An object of the |
horizontal |
logical value; if TRUE a compact horizontal plot is generated, if FALSE a diagonal upload plot is generated. |
... |
Parameters to pass to |
A diagonal upload pattern plot displays for each encounter date (x-axis) whether or not new data was received at each upload date (y-axis). A horizontal upload pattern plot displays for each encounter date (x-axis) whether or not new data were received y days after the encounter date. Note that this function calls the "stackedUploadData" which should only be used on count data. If data were received containing 0 or negative counts, pixels are colored in gray. Otherwise they are dark blue.
None.
Julie Eaton and Ian Painter
stackedUploadData
,
barcode
,
plot.accrued
,
plot.summary.accrued
,
lagHistogram
1 2 3 4 5 | data(accruedDataExample)
testData <- data.accrued(accruedDataExample)
uploadPattern(testData) # Diagonal plot (default)
dev.new(height = 1.5, width = 10) # Horizontal plot - best short and wide
uploadPattern(testData, horizontal = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.