Learn R Programming

SensoMineR (version 1.27)

plot.JAR: Make penalty graph

Description

Plot the graphs for the penalty analysis.

Usage

# S3 method for JAR
plot(x, name.prod, model=1, confidence=TRUE, level=0.05, ...)

Value

Draw a plot of the penalty against the ferquency of the categories.

Arguments

x

an object of class fast

name.prod

a string corresonding to the name of the product for which penalty is drawn

model

an integer: 1 means that the one-dimensional penalties are drawn, 2 means that the multidimensional penalties are drawn

confidence

A boolean: if true, the confidence interval is drawn for each penalty

level

threshold for the selection of the categories that are plotted

...

further arguments passed to or from other methods, such as cex, cex.main, ...

Author

Francois Husson

See Also

JAR

Examples

Run this code
if (FALSE) {
data(JAR)
res.jar <- JAR(JAR,col.p=13,col.j=1,col.pref=2)
plot.JAR(res.jar,name.prod="284", model=1)
 }

Run the code above in your browser using DataLab