Description Details FileName ReadingTheData Author(s) References Examples
multiculturalSortingSpices
. An excel file
storing the data from a sorting task:
62 participants from 5 different countries
(USA, France, India, Spain, and Vietnam)
sorted 16 different spices
(including 6 mixtures of spices).
This excel file can be accessed with the R
-command
system.file()
, and can be
read by the function
DistatisR::read.df.excel
(note that the package
DistatisR
needs to have been installed first
from Github
as
devtools::install_github('HerveAbdi/DistatisR')
).
The data are stored in an excel file containing 3 sheets.
The first sheet, called DataSort
contains the
sorting data: the rows are the products and the
columns are the assessors. The data are organized and
coded as indicated in the help for distatis
(see also the Abdi et al.s' 2007 Distatis paper).
Some spices are mixtures of several spices and the names are
short names to make the graphs easier to read (the long names
are given in the sheet legend4Spices
).
The first letter of the name of the assessors gives
their nationalities: S for Spanish (10),
V for Vietnamese (6), I for Indian (15),
F for French (21), and A for American (9).
multiculturalSortingSpices.xlsx
To fetch this dataset use system.file()
(see example below).
Chollet, S., Valentin, D., & Abdi, H.
Part of these data (i.e., the French sample) is described and analyzed in Chollet, S., Valentin, D., & Abdi, H. (2014). Free sorting task. In P.V. Tomasco & G. Ares (Eds), Novel Techniques in Sensory Characterization and Consumer Profiling. Boca Raton: Taylor and Francis. pp 207-227.
The format of the sorting task is the same as the beer example in Abdi, H., Valentin, D., Chollet, S., & Chrea, C. (2007). Analyzing assessors and products in sorting tasks: DISTATIS, theory and applications. Food Quality and Preference, 18, 627–640.
1 2 3 4 5 6 7 8 | ## Not run:
# Note we need to have DistatisR installed for the example to run
path2file <- system.file("extdata",
"multiculturalSortingSpices.xlsx", package = "R4SPISE2018")
spiceDataSort <- DistatisR::read.df.excel(path = path2file,
sheet = "DataSort")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.