Truncate-methods {distr} | R Documentation |
Truncate-methods
Truncate(object, ...) ## S4 method for signature 'AbscontDistribution': Truncate(object, lower = -Inf, upper = Inf) ## S4 method for signature 'DiscreteDistribution': Truncate(object, lower= -Inf, upper = Inf) ## S4 method for signature 'UnivarLebDecDistribution': Truncate(object, lower = -Inf, upper = Inf, withSimplify = getdistrOption("simplifyD"))
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 ? |
the corresponding distribution of the truncated random variable
signature(object = "AbscontDistribution")
:
returns the distribution of min(upper,max(X,lower))
conditioned to lower<X<=upper
, if X
is
distributed according to object
;
the result is again of class "AbscontDistribution"
signature(object = "DiscreteDistribution")
:
returns the distribution of min(upper,max(X,lower))
conditioned to lower<X<=upper
, if X
is
distributed according to object
;
the result is again of class "DiscreteDistribution"
signature(object = "UnivarLebDecDistribution")
:
returns the distribution of min(upper,max(X,lower))
conditioned to lower<X<=upper
, if X
is
distributed according to object
;
the result is again of class "UnivarLebDecDistribution"
plot(Truncate(Norm(),lower=-1,upper=2))