R/compare_plans_oc_sd.R
compare_plans_oc_sd.Rd
This function produces overlaid Operating Characteristic (OC) curves for any three systematic/random sampling schemes for specified parameters with different standard deviation vlues.
compare_plans_oc_sd(c1, c2, c3, r1, t1, r2, t2, r3, t3, sd1, sd2, sd3, distribution, K, m)
acceptance numbers
number of primary increments in a grab sample or grab sample size
number of grab samples
standard deviations of the lognormal and Poisson-lognormal distributions on the log10 scale
what distribution we have used such as 'Poisson gamma'
or 'Lognormal'
or 'Poisson lognormal'
dispersion parameter of the Poisson gamma distribution (default value 0.25)
microbiological limit with default value zero, generally expressed as number of microorganisms in specific sample weight
overlaid OC curves
c1 <- 0
c2 <- 0
c3 <- 0
r1 <- 25
r2 <- 25
r3 <- 25
t1 <- 30
t2 <- 30
t3 <- 30
sd1 <- 0.2
sd2 <- 0.4
sd3 <- 0.8
distribution <- 'Poisson lognormal'
compare_plans_oc_sd(c1, c2, c3, r1, t1, r2, t2, r3, t3, sd1, sd2, sd3, distribution)