denguedat: denguedat: Dengue fever reporting data from Puerto Rico

Description Usage Format Examples

Description

Surveillance data from CDC Division of Vector-Borne Diseases. 1990-2010 case reporting data included. The first column, onset_week, indicates the week of symptom onset. The second column, report_week, indicates the week of case report. The third column, gender, indicates the gender of the infected individual (randomly assigned with 0.5:0.5 probability of "Male"/"Female"). This column may be used to produce stratified nowcasts using the function NobBS.strat.

Usage

1

Format

A data frame.

Examples

1
2
3
4
data(denguedat)
nowcast <- NobBS(denguedat, as.Date("1990-04-09"),units="1 week",onset_date="onset_week",
report_date="report_week")
nowcast$estimates

Example output

Computing a nowcast for  1990-04-09
Warning messages:
1: `group_by_()` is deprecated as of dplyr 0.7.0.
Please use `group_by()` instead.
See vignette('programming') for more help
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated. 
2: `select_vars()` is deprecated as of dplyr 0.8.4.
Please use `tidyselect::vars_select()` instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated. 
   estimate lower upper onset_date n.reported
1        61    61    61 1990-01-01         61
2        50    50    53 1990-01-08         50
3        44    44    47 1990-01-15         44
4        46    46    49 1990-01-22         46
5        39    39    42 1990-01-29         39
6        34    34    36 1990-02-05         34
7        24    24    26 1990-02-12         24
8        17    17    19 1990-02-19         17
9        17    17    20 1990-02-26         17
10       16    15    18 1990-03-05         15
11       17    16    20 1990-03-12         16
12       20    18    24 1990-03-19         18
13       13    10    17 1990-03-26         10
14        9     5    16 1990-04-02          4
15       12     4    24 1990-04-09          1

NobBS documentation built on March 3, 2020, 5:08 p.m.