simulateMH: simulateMH

Description Usage Arguments Value Examples

Description

Simulate a multi-head weighting machine producing a box of pralines the result of the simulation is a data.frame containing the weight and numbers of praline for each box simulated

Usage

1
simulateMH(source, target, declared, min.pcs, step = 1000)

Arguments

source

vector with the weight of the single praline

target

the target weight of the multi-head machine

declared

declared weight of the box (unused)

min.pcs

declared pieces of the box (unused)

step

simulation steps, number of pack to be simulated

Value

data.frame width data simulation results

Examples

1
2
# dati <- dati <- rnorm(100, 10.1, 0.5)
# b <- simulateMH(dati, 152, 150, 15)

dan2cil/tecTools documentation built on Dec. 19, 2021, 8:04 p.m.