Truncate-methods

0th

Percentile

Methods for function Truncate in Package `distr'

Truncate-methods

Keywords
methods, distribution
Usage
Truncate(object, ...)
## S3 method for class 'AbscontDistribution':
Truncate(object, lower = -Inf, upper = Inf)
## S3 method for class 'DiscreteDistribution':
Truncate(object, lower= -Inf, upper = Inf)
## S3 method for class 'UnivarLebDecDistribution':
Truncate(object, lower = -Inf, upper = Inf, 
                    withSimplify = getdistrOption("simplifyD"))
Arguments
object
distribution object
...
not yet used; 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

Huberize, Minimum

Aliases
  • Truncate-methods
  • Truncate
  • Truncate,AbscontDistribution-method
  • Truncate,DiscreteDistribution-method
  • Truncate,UnivarLebDecDistribution-method
Examples
plot(Truncate(Norm(),lower=-1,upper=2))
Documentation reproduced from package distr, version 2.0.2, License: LGPL-3

Community examples

Looks like there are no examples yet.