| delay_opts | R Documentation | 
Returns delay distributions formatted for usage by downstream
functions.
delay_opts(dist = Fixed(0), default_cdf_cutoff = 0.001, weight_prior = TRUE)
| dist | A delay distribution or series of delay distributions. Default is a fixed distribution with all mass at 0, i.e. no delay. | 
| default_cdf_cutoff | Numeric; default CDF cutoff to be used if an
unconstrained distribution is passed as  | 
| weight_prior | Logical; if TRUE (default), any priors given in  | 
A <delay_opts> object summarising the input delay distributions.
convert_to_logmean() convert_to_logsd()
bootstrapped_dist_fit() Distributions
# no delays
delay_opts()
# A single delay that has uncertainty
delay <- LogNormal(
  meanlog = Normal(1, 0.2),
  sdlog = Normal(0.5, 0.1),
  max = 14
)
delay_opts(delay)
# A single delay without uncertainty
delay <- LogNormal(meanlog = 1, sdlog = 0.5, max = 14)
delay_opts(delay)
# Multiple delays (in this case twice the same)
delay_opts(delay + delay)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.