Learn R Programming

EpiNow2 (version 1.6.1)

apply_tolerance: 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)

Value

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

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.