accruedDataILIExample: Data set for illustrating accrued data methods

Description Usage Format Details Examples

Description

Simulated dataset of 12 months of counts accrued over 12 days. This data set is a data.frame. To use the dataset with any of the functions in the package, the user must first convert it to an accrued object.

Usage

1

Format

A data frame of influenza-like-illness count data showing the cumulative count data received, with each row representing an encounter date and columns representing the number of days after the encounter. The "final" column represents the final count for each encounter date.

Details

A simulated dataset designed to represent typical observed behavior.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
	# denominator
	data(accruedDataExample)
	testData = data.accrued(accruedDataExample)

	# numerator
	data(accruedDataILIExample)
	testData2 = data.accrued(accruedDataILIExample)

	errors = accruedErrors(testData, testData2)
	plot(errors)
	summary(errors)

Example output

Loading required package: grid
           0          1          2          3          4           5         6
0.1 1.563052 -0.5534715 -1.3345219 -1.4927750 -1.5652037 -1.17750970 -1.072103
0.5 2.923546  0.1358871 -0.4351681 -0.6396010 -0.6714513 -0.53899650  0.000000
0.9 3.838898  0.9019503  0.1147123 -0.1839924 -0.2413703 -0.09282054  0.000000
             7          8 9 10 11 12
0.1 -0.7105498 -0.4961463 0  0  0  0
0.5  0.0000000  0.0000000 0  0  0  0
0.9  0.0000000  0.0000000 0  0  0  0

accrued documentation built on May 2, 2019, 4:01 p.m.