tests/testthat/_snaps/simulate-secondary.md

simulate_secondary works as expected with standard parameters

           date secondary
         <Date>     <num>
  1: 2020-02-22        15
  2: 2020-02-23        65
  3: 2020-02-24        67
  4: 2020-02-25        93
  5: 2020-02-26        78
 ---                     
126: 2020-06-26       305
127: 2020-06-27       243
128: 2020-06-28       166
129: 2020-06-29       172
130: 2020-06-30       113

simulate_secondary works as expected with additional parameters

           date secondary
         <Date>     <num>
  1: 2020-02-22         0
  2: 2020-02-23         8
  3: 2020-02-24        26
  4: 2020-02-25        40
  5: 2020-02-26        37
 ---                     
126: 2020-06-26       311
127: 2020-06-27       307
128: 2020-06-28       250
129: 2020-06-29       123
130: 2020-06-30       253


Try the EpiNow2 package in your browser

Any scripts or data that you put into this service are public.

EpiNow2 documentation built on June 17, 2026, 1:07 a.m.