simulation {SensoMineR}R Documentation

Simulate virtual panels

Description

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

Details

Called by the simulation procedure

Value

Author(s)

François Husson

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

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)

[Package SensoMineR version 1.01 Index]