diff --git a/man/epinow.Rd b/man/epinow.Rd index 40b295a02..bfe6dc102 100644 --- a/man/epinow.Rd +++ b/man/epinow.Rd @@ -157,11 +157,7 @@ incubation_period <- LogNormal( ) # set an example reporting delay. In practice this should use an estimate # from the literature or be estimated from data -reporting_delay <- LogNormal( - meanlog = 2, - sdlog = 1, - max = 10 -) +reporting_delay <- LogNormal(mean = 2, sd = 1, max = 10) # example case data reported_cases <- example_confirmed[1:40] diff --git a/man/estimate_infections.Rd b/man/estimate_infections.Rd index 0c1686397..0372966a0 100644 --- a/man/estimate_infections.Rd +++ b/man/estimate_infections.Rd @@ -146,11 +146,7 @@ incubation_period <- LogNormal( ) # set an example reporting delay. In practice this should use an estimate # from the literature or be estimated from data -reporting_delay <- LogNormal( - meanlog = 2, - sdlog = 1, - max = 10 -) +reporting_delay <- LogNormal(mean = 2, sd = 1, max = 10) # for more examples, see the "estimate_infections examples" vignette def <- estimate_infections(reported_cases, diff --git a/man/forecast_infections.Rd b/man/forecast_infections.Rd index b836dc323..24c5b2c5d 100644 --- a/man/forecast_infections.Rd +++ b/man/forecast_infections.Rd @@ -65,12 +65,7 @@ reported_cases <- example_confirmed[1:50] est <- estimate_infections(reported_cases, generation_time = generation_time_opts(example_generation_time), delays = delay_opts(example_incubation_period + example_reporting_delay), - rt = rt_opts(prior = LogNormal( - meanlog = 2, - sdlog = 0.1 - ), - rw = 7 - ), + rt = rt_opts(prior = LogNormal(mean = 2, sd = 0.1), rw = 7), obs = obs_opts(scale = Normal(mean = 0.1, sd = 0.01)), gp = NULL, horizon = 0 ) diff --git a/man/regional_epinow.Rd b/man/regional_epinow.Rd index ad7cd3bbf..6eca0c83a 100644 --- a/man/regional_epinow.Rd +++ b/man/regional_epinow.Rd @@ -156,12 +156,7 @@ def <- regional_epinow( data = cases, generation_time = gt_opts(example_generation_time), delays = delay_opts(example_incubation_period + example_reporting_delay), - rt = rt_opts( - prior = LogNormal( - meanlog = 2, - sdlog = 0.2 - ) - ), + rt = rt_opts(prior = LogNormal(mean = 2, sd = 0.2)), stan = stan_opts( samples = 100, warmup = 200 ),