distr (version 2.2.3)

Huberize-methods: Methods for function Huberize in Package `distr'

Description

Huberize-methods

Usage

Huberize(object, ...)
## S3 method for class 'AcDcLcDistribution':
Huberize(object,lower,upper,
                    withSimplify = getdistrOption("simplifyD"))

Arguments

object
distribution object
...
further arguments for Huberize; takes up lower, upper, withSimplify.
lower
numeric; lower truncation point
upper
numeric; upper truncation point
withSimplify
logical; is result to be piped through a call to simplifyD?

Value

  • the corresponding distribution of the truncated random variable

concept

truncation

See Also

Truncate

Examples

Run this code
Hub <- Huberize(Norm(),lower=-1,upper=2)
Hub 
plot(Hub)

Run the code above in your browser using DataCamp Workspace