Description Usage Arguments Value Examples
View source: R/source_simulatePack.R
Simulate the weight of a mixed box containing different product using the weight of all the single product
1 2 | simulatePack(source, composition, declared, plotce = F, main = "Pesi medi",
step = 1e+05)
|
source |
a data frame with the weight of the single praline |
composition |
a data frame with the composition of the pack |
declared |
declared weight |
plotce |
boolean, T if you want to plot T1 and T2, otherwise F |
main |
optional main title |
step |
simulation steps, number of pack to be simulated |
data list
1 2 | # data(source, composition)
# simulatePack(source, composition, 136)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.