cmu-delphi / epiforecast-R

R package to implement and visualize several epidemiological forecasting methods.
GNU General Public License v2.0
21 stars 5 forks source link

Error in twkde.markovian.sim function #3

Closed siddharthgarg89 closed 4 years ago

siddharthgarg89 commented 4 years ago

I am trying to run the sample code provided in the documentation for the epiforecast package for the twkde.markovian.sim function. However, when I do so, I get the error - Error in twkde.markovian.sim(dat, new.dat, 2.1, n.sims = 100) : unused argument (n.sims = 100)

the code used is per the epiforecast documentation on page 34

Requesting you to please look into this.

lcbrooks commented 4 years ago

The n.sims parameter has been renamed to max.n.sims. The manual pdf was out of date; it has been regenerated in commit e80b438b44d5ea19615528865afb7dc8f44381c4.

lcbrooks commented 4 years ago

Thanks for pointing this out. I believe the above commit should resolve this documentation issue; marking as closed.

siddharthgarg89 commented 4 years ago

Hello Logan,

Thank you for the quick turnaround. This seems to be working now.

Thanks