Learn R Programming

SensoMineR (version 1.03)

simulation: Simulate virtual panels

Usage

simulation(axeAFM, nbchoix = NULL, nbbloc, nbsimul = 500)

Arguments

axeAFM
matrix
nbchoix
Number of panelist in a virtual Panel
nbbloc
Number of bloc for the ktable
nbsimul
number of simulations

Value

    Details

    Called by the simulation procedure

    References

    Husson, F., Le Dien, S. & Pag�s, J. (2005). Confidence ellipse for the sensory profiles obtained by Principal Components Analysis. Food Quality and Preference. 16 (3). pp. 245-250.

    Examples

    Run this code
    data(chocolates)
    ktab.donnee <- ktab.data.frame(cbind.data.frame(chocolates[,1],
        chocolates[,4], chocolates[,-(1:4)]), blocks = c(2,14),
        tabnames = c("JP","Gr1"))
    ktab.interesting.desc <- search.desc.ktab(ktab.donnee)
    axe <- construct.axes(ktab.interesting.desc, scale.unit = TRUE)
    simul <- simulation(axe, nbbloc = length(ktab.interesting.desc$blo)-1)

    Run the code above in your browser using DataLab