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.

1 2 |

`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 |

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 |

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

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

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.