fasnt: Factorial Approach for Sorting Napping Task data

Description Usage Arguments Value Author(s) References Examples

View source: R/fasnt.R

Description

Perform Factorial Approach for Sorting Napping Task data (FASNT) on a table where the rows (i) are products and the columns (j) are for each consumer the coordinates of the products on the tablecloth associated with napping on the one hand and the partitionning variable associated with categorization on the other hand. The columns are grouped by consumer. For the partitionning variable, the label associated with a group can be an arbirary label (for example G1 for group 1, etc.) or the words associated with the group in the case of qualified sorted napping.

Usage

1
2
fasnt(don,first="nappe",alpha=0.05,sep.word=";",word.min=5,graph=TRUE,axes=c(1,2),
    ncp=5,name.group=NULL,B=100,val=FALSE, B.val=200)

Arguments

don

a data frame with n rows (products) and p columns (assesor : categorical variables)

first

2 possibilities: "nappe" if the napping variables first appear for each consumer or "catego" if it is the categorization variable

alpha

the confidence level of the ellipses

sep.word

the word separator character in the case of qualified sorted napping

word.min

minimum sample size for the word selection in textual analysis

graph

boolean, if TRUE a graph is displayed

axes

a length 2 vector specifying the components to plot

ncp

number of dimensions kept in the results (by default 5)

name.group

a vector containing the name of the consumers (by default, NULL and the group are named J1, J2 and so on)

B

the number of simulations (corresponding to the number of virtual panels) used to compute the ellipses

val

boolean, if TRUE elements of validity are calculating (it is time consuming)

B.val

the number of simulations used to obtain the elements of validity

Value

A list containing the following elements:

eig

a matrix containing all the eigenvalues, the percentage of variance and the cumulative percentage of variance

ind

a list of matrices containing all the results for the products (coordinates, square cosine, contributions)

quali.var

a list of matrices containing all the results for the categories of categorization (coordinates, square cosine, contributions, v.test)

quanti.var

a list of matrices containing all the results for the napping (coordinates, square cosine, contributions, v.test)

group

a list of matrices containing all the results for consumers (coordinates, square cosine, contributions)

indicator

a list of matrices containing different indicators for napping and categorization

textual

the results of the textual analysis for the products

validity

the elements of validity calculated for the first eigenvalue and the ellipses

call

a list with some statistics

Author(s)

Marine Cadoret, S\'ebastien L\^e sebastien.le@agrocampus-ouest.fr

References

Pag\'es, J., L\^e, S., Cadoret, M. (2010) The Sorted Napping: a new holistic approach in sensory evaluation. Journal of Sensory Studies
Cadoret, M., L\^e, S., Pag\'es, J. (2009) Combining the best of two worlds, the "sorted napping". SPISE. Ho Chi Minh City, Vietnam

Examples

1
2
3
4
5
6
## Not run: 
data(smoothies)
## Example of FASNT results
res.fasnt<-fasnt(smoothies,first="nappe")

## End(Not run)

Example output

Loading required package: FactoMineR
dev.new(): using pdf(file="Rplots1.pdf")
dev.new(): using pdf(file="Rplots2.pdf")
dev.new(): using pdf(file="Rplots3.pdf")
dev.new(): using pdf(file="Rplots4.pdf")
dev.new(): using pdf(file="Rplots5.pdf")
dev.new(): using pdf(file="Rplots6.pdf")
dev.new(): using pdf(file="Rplots7.pdf")
dev.new(): using pdf(file="Rplots8.pdf")
Number of different words :  107 
dev.new(): using pdf(file="Rplots9.pdf")

SensoMineR documentation built on May 2, 2019, 5:56 p.m.

Related to fasnt in SensoMineR...