The function LotGen()
generates a matrix of contaminated lots from information on the
parameters of a normal distribution (mean, sd)
representing the microbial concentration in the contaminated units (log10 CFU/g).
Every row of the matrix corresponds to a production lot, broken down in units or portions,
which are the columns of the matrix.
There is no assumption that lots can have different prevalence values, and therefore the
microbial numbers of all units or portions produced in a lot
are sampled from a microbial concentration distribution.
Arguments
- nLots
number of lots sampled or size of the Monte Carlo simulation (scalar).
- sizeLot
number of units or portions produced in a lot (scalar).
- P
prevalence of contaminated lots (scalar)
- C0MeanLog
(log10 CFU/g) mean parameter of the normal distribution representing the variability in the microbial concentration of contaminated units (scalar or vector).
- C0SdLog
(log10 CFU/g) standard deviation parameter of the normal distribution representing the variability in the microbial concentration of contaminated units (scalar or vector).
- unitSize
(
g
) weight of single unit or portion from a lot (scalar).- ...
Other options used to control
LotGen()
Value
A list of two elements:
- N
(
CFU
) A matrix of sizenLots
lots bysizeLot
units representing the microbial numbers in the units or portions from contaminated lots;- P
Prevalence of contaminated lots (scalar).
Note
For the prevalence of lots contaminated with L. monocytogenes, \(P=0.057\) is suggested from the information published in FSAI (2022) , which detected L. monocytogenes in 21 out of 366 in non-RTE frozen vegetables. The mean (\(C0\_meanLog10=1.023\ log10\ CFU/g\)) and standard deviation (\(C0\_sdLog10=0.3267\ log10\ CFU/g\)) of the normal distribution representing the variability in L. monocytogenes were obtained using data from Jeyaletchumi (2011) (\(3.0\ MPN/g\), \(3.6\ MPN/g\) in freshly harvested vegetables), Magdovitz et al. (2021) (21, 36 and 75 MPN/g in corn and peas arriving at the frozen food facility), and Kuan et al. (2017) (\(3.0\ MPN/g\) in bulk carrots at retail).
References
Team RC (2022). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/.
FSAI (2022). “National Microbiological Survey and Consumer Habits in relation to Frozen Vegetables, Fruits and Herbs (19NS6).” Food Safety Authority of Ireland. https://www.fsai.ie/Micro_Safefood_Veg_Fruit_Herbs/.
Jeyaletchumi PTRSPMCLCRSFMGCYKMNYNKMP (2011). “Evaluation of Listeria spp. and Listeria monocytogenes in selected vegetable farms.” Journal of Tropical Agriculture and Food Science, 39(2), 255-266.
Magdovitz BF, Gummalla S, Garren D, Thippareddi H, Berrang ME, Harrison MA (2021). “Prevalence of Listeria species and Listeria monocytogenes on raw produce arriving at frozen food manufacturing facilities.” Journal of Food Protection, 84(11), 1898-1903.
Kuan CH, Rukayadi Y, Ahmad SH, Wan C, Radzi M, Thung TY, Premarathne J, Chang WS, Loo YY, Tan CW, Ramzi OB, Fadzil SNM, Kuan CS, Yeo SK, Nishibuchi M, Radu S (2017). “Comparison of the microbiological quality and safety between conventional and organic vegetables sold in Malaysia.” Frontiers in Microbiology, 8, 1433.
See also
Other data generation:
Lot2LotGen()
,
caPrimaryProduction()
Author
Vasco Cadavez vcadavez@ipb.pt
Examples
lots <- LotGen(
nLots = 500,
sizeLot = 200,
P = 0.057,
C0MeanLog = 1.023,
C0SdLog = 0.3267,
unitSize = 500
)
str(lots)
#> List of 3
#> $ N : num [1:500, 1:200] 1004 12218 3626 5426 4694 ...
#> $ P : num 0.057
#> $ LotGenParameters:List of 6
#> ..$ nLots : num 500
#> ..$ sizeLot : num 200
#> ..$ P : num 0.057
#> ..$ C0MeanLog: num 1.02
#> ..$ C0SdLog : num 0.327
#> ..$ unitSize : num 500
#> - attr(*, "class")= chr [1:2] "list" "qraLm"
summary(c(lots$N))
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> 183 3171 5290 7007 8805 156868