liesInSupport | R Documentation |
The function tests if x
lies in the support of the
distribution object
.
## S4 method for signature 'DiscreteMVDistribution,numeric'
liesInSupport(object, x, checkFin = FALSE)
## S4 method for signature 'DiscreteMVDistribution,matrix'
liesInSupport(object, x, checkFin = FALSE)
object |
object of class |
x |
numeric vector or matrix |
checkFin |
logical: in case |
logical vector
does x
lie in the support of object
.
does x
lie in the support of object
.
Matthias Kohl Matthias.Kohl@stamats.de
Distribution-class
M <- matrix(rpois(30, lambda = 10), ncol = 3)
D1 <- DiscreteMVDistribution(M)
M1 <- rbind(r(D1)(10), matrix(rpois(30, lam = 10), ncol = 3))
liesInSupport(D1, M1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.