Description Usage Arguments Details Value See Also Examples

`oc_plan`

provides the Operating Characteristic (OC) curve for known microbiological distribution such as lognormal. The probability of acceptance is plotted against mean log10 concentration.

1 | ```
oc_plan(c, r, t, distribution, K, m, sd)
``` |

`c` |
acceptance number |

`r` |
number of primary increments in a grab sample or grab sample size |

`t` |
number of grab samples |

`distribution` |
what suitable distribution we have used such as |

`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) |

Based on the food safety literature, mean concentration is given by *λ = 10^{μ+log(10)σ^2/2}*.

Operating Characteristic (OC) curve

prob_accept

1 2 3 4 5 | ```
c <- 0
r <- 25
t <- 30
distribution <- 'Poisson lognormal'
oc_plan(c, r, t, distribution)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.