R: Number of dyads whose values are in an interval

ininterval-ergmTerm {ergm} | R Documentation

## Number of dyads whose values are in an interval

### Description

Adds one statistic equaling to the number of dyads whose values are between `lower` and `upper` .

### Usage

    # valued: ininterval(lower=-Inf, upper=+Inf, open=c(TRUE,TRUE))

### Arguments

`lower` | defaults to -Inf
`upper` | defaults to +Inf
`open` | a `logical` vector of length 2 that controls whether the interval is open (exclusive) on the lower and on the upper end, respectively. `open` can also be specified as one of `"[]"` , `"(]"` , `"[)"` , and `"()"` .

### See Also

`ergmTerm` for index of model terms currently visible to the package.

[Package ergm version 4.2.1 Index]