compare_plans_oc: Comparison based on OC curve

Description Usage Arguments Value See Also Examples

View source: R/compare_plans_oc.R

Description

This function produces overlaid Operating Characteristic (OC) curves for any three systematic/random sampling schemes for specified parameters.

Usage

1
compare_plans_oc(c1, c2, c3, r1, t1, r2, t2, r3, t3, distribution, K, m, sd)

Arguments

c1, c2, c3

acceptance numbers

r1, r2, r3

number of primary increments in a grab sample or grab sample size

t1, t2, t3

number of grab samples

distribution

what distribution we have used such as 'Poisson gamma' or 'Lognormal'or 'Poisson lognormal'

K

dispersion parameter of the Poisson gamma distribution (default value 0.25)

m

microbiological limit with default value zero, generally expressed as number of microorganisms in specific sample weight

sd

standard deviation of the lognormal and Poisson-lognormal distributions on the log10 scale (default value 0.8)

Value

overlaid OC curves

See Also

prob_accept

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
c1 <- 0
c2 <- 0
c3 <- 0
r1 <- 25
r2 <- 50
r3 <- 75
t1 <- 10
t2 <- 10
t3 <- 10
distribution <- 'Poisson lognormal'
compare_plans_oc(c1, c2, c3, r1, t1, r2, t2, r3, t3, distribution)

grabsampling documentation built on March 13, 2020, 5:07 p.m.