apply_tolerance {EpiNow2}R Documentation

Applies a threshold to all nonparametric distributions in a <dist_spec>

Description

[Deprecated] This function is deprecated. Use bound_dist() instead.

Usage

apply_tolerance(x, tolerance)

Arguments

x

A ⁠<dist_spec>⁠

tolerance

Numeric; the desired tolerance level. Any part of the cumulative distribution function beyond 1 minus this tolerance level is removed.

Value

A ⁠<dist_spec>⁠ where probability masses below the threshold level have been removed


[Package EpiNow2 version 1.7.1 Index]