liesInSupport: Generic Function for Testing the Support of a Distribution
Description
The function tests if x lies in the support of the
distribution object.
Usage
# S4 method for DiscreteMVDistribution,numeric
liesInSupport(object, x, checkFin = FALSE)
# S4 method for DiscreteMVDistribution,matrix
liesInSupport(object, x, checkFin = FALSE)
Value
logical vector
Arguments
object
object of class "Distribution"
x
numeric vector or matrix
checkFin
logical: in case FALSE, we simply check whether
x lies exactly in the numerical support (of finitely many
support points); later on we might try to mimick the univariate case
more closely in case TRUE, but so far this is not yet used.