View source: R/plot.WordCountAna.R
plot.WordCountAna | R Documentation |
Draw the Word-Count based methods Analysis (WordCountAna) graphs
## S3 method for class 'WordCountAna'
plot(x,axes=c(1,2),choix="prod",lab=TRUE,color=NULL,pch=NULL,
proba=0.05,xlim=NULL,ylim=NULL,cex=1,title=NULL,new.plot=TRUE,...)
x |
an object of class VerbAna |
axes |
a length 2 vector specifying the components to plot |
choix |
a string corresponding to the graph that you want to do ("prod" for the products graph, "panel" for the panellists graph, "dist" for the distinct-words graph, "cons" for the consensual words graph) |
lab |
boolean, if TRUE, the labels are drawn |
color |
the color to use to draw the graph |
pch |
either an integer specifying a symbol or a single character to be used as the default in plotting points. See points for possible values and their interpretation |
proba |
significance threshold considered to define consensual words (by default 0.05) |
xlim |
range for the plotted 'x' values, defaulting to the range of the finite values of 'x' |
ylim |
range for the plotted 'y' values, defaulting to the range of the finite values of 'y' |
cex |
numerical value giving the amount by which plotting text and symbols should be magnified relative to the default (by default 1) |
title |
string corresponding to the title of the graph you draw |
new.plot |
boolean, if TRUE, a new graphical device is created |
... |
further arguments passed to or from other methods, such as cex, cex.main, ... |
Returns one of the four following factor maps depending on the choice: products, panellists, distinct-words and consensual words.
Belchin Kostov badriyan@clinic.ub.es, Francois Husson francois.husson@institut-agro.fr, Monica Becue-Bertaut
Kostov, B., Becue-Bertaut, M., Husson, F., Pages, J., Cadoret, M., Torrens, J. and Urpi, P. (2012). A tool for detecting words with consensual meaning in verbalization tasks. 11th Sensometrics Conference, July 10-13, 2012, Rennes, France.
WordCountAna
data(perfume)
res<-WordCountAna(base=perfume,sep.word=";",graph=FALSE)
plot.WordCountAna(res,choix="prod")
plot.WordCountAna(res,choix="panel")
plot.WordCountAna(res,choix="dist")
plot.WordCountAna(res,choix="cons")
plot.WordCountAna(res,choix="cons",proba=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.