# liesInSupport

From distrEx v1.9
by Matthias Kohl

##### Generic Function for Testing the Support of a Distribution

The function tests if `x`

lies in the support of the
distribution `object`

.

- Keywords
- methods, distribution, utilities

##### Usage

```
## S3 method for class 'DiscreteMVDistribution,numeric':
liesInSupport(object, x)
## S3 method for class 'DiscreteMVDistribution,matrix':
liesInSupport(object, x)
```

##### Arguments

- object
- object of class
`"Distribution"`

- x
- numeric vector or matrix

##### Value

- logical vector

##### concept

support

##### See Also

##### Examples

```
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)
```

*Documentation reproduced from package distrEx, version 1.9, License: GPL (version 2 or later)*

### Community examples

Looks like there are no examples yet.