Learn R Programming

SensoMineR (version 1.06)

simulation: Simulate virtual panels

Usage

simulation(axeAFM, nbchoix = NULL, nbgroup = 1, nbsimul = 500)

Arguments

axeAFM
matrix
nbchoix
Number of panelists in a virtual Panel
nbgroup
Number of groups (by default 1 for a PCA)
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)
    donnee <- cbind.data.frame(sensochoc[,c(1,4,5:18)])
    axe <- construct.axes(donnee, scale.unit = TRUE)
    simul <- simulation(axe)
    plotellipse (simul, alpha = 0.05, eig = signif(axe$eig,4))

    Run the code above in your browser using DataLab