| liesInSupport {distr} | R Documentation |
The function tests if x lies in the support of the
distribution object.
liesInSupport(object, x)
object |
object of class "Distribution" |
x |
numeric vector or matrix |
logical vector
x lie in the support of object. x lie in the support of object. x lie in the support of object. x lie in the support of object.
Matthias Kohl Matthias.Kohl@stamats.de
liesInSupport(Exp(1), rnorm(10))
# note
x <- rpois(10, lam = 10)
liesInSupport(Pois(1), x)
# better
distroptions("TruncQuantile"=1e-15)
liesInSupport(Pois(1), x)
distroptions("TruncQuantile"=1e-05) # default