Learn R Programming

EpiNow2 (version 1.6.1)

fix_dist: Remove uncertainty in the parameters of a <dist_spec>

Description

[Deprecated] This function has been renamed to fix_parameters() as a more appropriate name.

Usage

fix_dist(x, strategy = c("mean", "sample"))

Value

A <dist_spec> object without uncertainty

Arguments

x

A <dist_spec>

strategy

Character; either "mean" (use the mean estimates of the mean and standard deviation) or "sample" (randomly sample mean and standard deviation from uncertainty given in the <dist_spec>