The bimpre function is a helper function for data preprocessing. Missing item combinations are filled and marked as ties. Simulated data are marked and the data are prepared in the correct order (pairings) according to the ground truth.

bimpre(
  dat = NULL,
  GT = NULL,
  simOpt = NULL,
  deviation = 0,
  minQuantity = 0,
  verbose = TRUE
)

Arguments

dat

curated data.frame obtained from the import function (unified format)

GT

item list with the ground truth (GT; letters are case sensitive!)

simOpt

item to be checked (this can be an item from the GT or a new one. Remove the item from GT if specified here!)

deviation

how much deviation is allowed for marking ties (default is 0 which translates to 50%)

minQuantity

minimum quantitiy to be recognized as difference (default is 0)

verbose

show function results

Value

data.frame with the raw data