Default values of `a=0; b=1`

allow for quick test if
`x`

is a probability.

inRange(x, a = 0, b = 1)

## Arguments

x |
values to be tested |

a |
lower bound (default 0) |

b |
upper bound (default 1) |

## Value

Logical vectors. `NA`

values in `x`

are retained.

## Author

Alex Chubaty

## Examples

#> [1] FALSE TRUE FALSE TRUE