validate.Rr: Validation of Liland distribution parameters.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/utilities.R

Description

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

Usage

1

Arguments

R

number of Bernoulli trials.

r

number of successes.

Value

No return, only testing.

Author(s)

Kristian Hovde Liland

References

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

See Also

dLiland

Examples

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)

fixedTimeEvents documentation built on May 29, 2017, 3:36 p.m.

Search within the fixedTimeEvents package
Search all R packages, documentation and source code