barcode: Function to create a barcode plot of partially accruing data

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Creates a sparkline graph or "barcode" for partially accruing data showing dates on which data are received. If data are received containing 0 or negative counts, the bars are gray. Otherwise they are dark blue.

Usage

1
 barcode(x, ...) 

Arguments

x

Object of the accrued class containing data to be plotted.

...

Parameters to pass to plot.

Details

A plot is produced showing days on which data were received. Note that this function calls the stackedUploadData which should only be used on count data.

Value

None.

Author(s)

Julie Eaton and Ian Painter

See Also

data.accrued, stackedUploadData, uploadPattern, plot.accrued, plot.summary.accrued, lagHistogram, asOf

Examples

1
2
3
	data(accruedDataExample)	# simulated accrued data
	testData <- data.accrued(accruedDataExample)	
	barcode(testData)		


Search within the accrued package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.