You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type of issue:
Commenting on existing documentation.
Detail:
The documentation of forecast in epinow() and estimate_infections() says "... If NULL then no forecasting will be one", suggesting you can set forecast = NULL but this errors.
generation_time<- Gamma(
shape= Normal(1.3, 0.3),
rate= Normal(0.37, 0.09),
max=14
)
incubation_period<- LogNormal(
meanlog= Normal(1.6, 0.06),
sdlog= Normal(0.4, 0.07),
max=14
)
reporting_delay<- LogNormal(mean=2, sd=1, max=10)
reported_cases<-example_confirmed[1:40]
# estimate Rt and nowcast/forecast cases by date of infection
epinow(
data=reported_cases,
generation_time= gt_opts(generation_time),
rt= rt_opts(prior= LogNormal(mean=2, sd=0.1)),
delays= delay_opts(incubation_period+reporting_delay),
forecast=NULL# as suggested in docs but errors
)
LoggingthresholdsetatINFOforthenameloggerWritingEpiNow2logstotheconsoleand:/var/folders/vr/dn4r1_zj417drd1zr9301trw0000gp/T//RtmpdLzOzR/regional-epinow/2020-04-01.log.LoggingthresholdsetatINFOforthenameloggerWritingEpiNow2.epinowlogstotheconsoleand:/var/folders/vr/dn4r1_zj417drd1zr9301trw0000gp/T//RtmpdLzOzR/epinow/2020-04-01.log.Errorinif (horizon!=0) { :argumentisoflengthzero
The text was updated successfully, but these errors were encountered:
jamesmbaazam
changed the title
Documentation for forecast argument suggests can be NULL but not implemented
Documentation for forecast argument suggests can be NULL but errors
Jan 7, 2025
Type of issue:
Commenting on existing documentation.
Detail:
The documentation of
forecast
inepinow()
andestimate_infections()
says "... If NULL then no forecasting will be one", suggesting you can setforecast = NULL
but this errors.The text was updated successfully, but these errors were encountered: