ConsensualWords: Consensual words for Sorting Task data

Description Usage Arguments Value Author(s) Examples

View source: R/ConsensualWords.R

Description

This function is designed to point out the words that are used in a consensual way by consumers from a sorting task.

Usage

1
2
ConsensualWords(res.fast, nbtimes = 3, nbsimul = 500, proba = 0.05, 
    graph = TRUE, axes = c(1,2))

Arguments

res.fast

an object of class fast

nbtimes

minimum sample size for the word selection

nbsimul

the number of simulations used to compute Bootstrap

proba

the significance threshold considered to consider a word as consensual (by default 0.05)

graph

boolean, if TRUE a graph is displayed

axes

a length 2 vector specifying the components to plot

Value

A list containing the following elements:

Centroids

coordinates of the consensual words on the dimensions of the fast result

Within.inertia

frequency of use of each word and within inertia associated

Results.Bootstrap

frequency of use of each word, within inertia associated and p-value calculated according to the Bootstrap technique

Consensual.words

a list of significant consensual words sorted from the most consensual to the less consensual

Author(s)

Francois Husson

Examples

1
2
3
4
5
6
7
## Not run: 
data(perfume)
## Example of FAST results
res.fast<-fast(perfume,sep.words=";")
res.consensual<-ConsensualWords(res.fast)

## 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")
Number of different words :  83 
dev.new(): using pdf(file="Rplots8.pdf")
dev.new(): using pdf(file="Rplots9.pdf")
dev.new(): using pdf(file="Rplots10.pdf")

SensoMineR documentation built on Dec. 13, 2017, 9:04 a.m.