Skip to contents

If the given <dist_spec> has any uncertainty, it is removed and the corresponding distribution converted into a fixed one.

Usage

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

Arguments

x

A <dist_spec> object

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>

Value

A <dist_spec> object without uncertainty

Author

Sebastian Funk