R/correct.F.R

Defines functions correct.F

correct.F<-function(P)
{
 if(!is.numeric(P) || (P<0 || P>=100.0))
      stop("Invalid input parameter specification: check percentage P")

 1/(1-P)
 }

Try the MetFns package in your browser

Any scripts or data that you put into this service are public.

MetFns documentation built on May 1, 2019, 6:28 p.m.