Learn R Programming

SensoMineR (version 1.0)

optimaldesign: Construction of an optimal design

Description

Construction of an optimal design balanced for first order of carry-over effect.

Usage

optimaldesign(nbPanelist, nbProd, nbProdByPanelist, nbPanelistMin = nbPanelist,  ordre = TRUE, weight = 0.5, graine = Sys.time(), nbDesignProd = 10, nbDesignOrdre = 50, matEssImp = NA )

Arguments

nbPanelist
Maximum number of panelists
nbProd
Number of products
nbProdByPanelist
Number of products that each panelist will evaluate
nbPanelistMin
Minimum number of panelists who will evaluate the products
ordre
Boolean, if TRUE the order of presentation of the product to the panelist is given
weight
Importance of the rank and of the carry-over effect. From 0 to 1, if 0 the design will only take into account the carry-over effect (and not the rank effect).
graine
initialization of the algorithm
nbDesignProd
Number of iteration of the algorithm to affect the products to the panelists
nbDesignOrdre
Number of iteration of the algorithm for the rank of presentation
matEssImp
Matrix of the imposed experiments

Value

  • List with
  • designDesign with the products evaluated by each panelist
  • rankDesign with the products evaluated by each panelist and with the rank

References

P�rinel E. & Pag�s J. (2003). Optimal nested cross-over designs in sensory analysis. Food Quality and Preference. 15 (5). pp. 439-446.

Examples

Run this code
optimaldesign(nbPanelist=10,nbPanelistMin=8,nbProd=5,nbProdByPanelist=3)

Run the code above in your browser using DataLab