Construction of an optimal design

Share:

Description

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

Usage

1
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

design

Design with the products evaluated by each panelist

rank

Design with the products evaluated by each panelist and with the rank

Author(s)

E. P<e9>rinel, O. Tran, J. Mazet

References

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

Examples

1
2
3
4
## Not run: 
optimaldesign(nbPanelist=10,nbPanelistMin=8,nbProd=5,nbProdByPanelist=3)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.