Huberize-methods {distr} | R Documentation |
Methods for function Huberize in Package ‘distr’
Description
Huberize-methods
Usage
Huberize(object, ...)
## S4 method for signature 'AcDcLcDistribution'
Huberize(object,lower,upper,
withSimplify = getdistrOption("simplifyD"))
Arguments
object |
distribution object |
... |
further arguments for |
lower |
numeric; lower truncation point |
upper |
numeric; upper truncation point |
withSimplify |
logical; is result to be piped through a call to
|
Value
the corresponding distribution of the truncated random variable
Methods
- Huberize
signature(object = "AcDcLcDistribution")
: returns the unconditioned distribution ofmin(upper,max(X,lower))
, ifX
is distributed according toobject
; the result is of class"UnivarLebDecDistribution"
in general.
See Also
Examples
Hub <- Huberize(Norm(),lower=-1,upper=2)
Hub
plot(Hub)
[Package distr version 2.9.3 Index]