Checks if parameters conform to R >= 2, r >= 2 and r <= R.

1 | ```
validate.Rr(R, r)
``` |

`R` |
number of Bernoulli trials. |

`r` |
number of successes. |

No return, only testing.

Kristian Hovde Liland

Liland, KH & Snipen, L, FixedTimeEvents: An R package for the distribution of distances between discrete events in fixed time, SoftwareX, in press.

`dLiland`

1 2 3 4 5 6 | ```
validate.Rr(20,10)
## Not run:
# r>R results in an error.
validate.Rr(20,30)
## End(Not run)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.