plot.JAR | R Documentation |
Plot the graphs for the penalty analysis.
## S3 method for class 'JAR'
plot(x, name.prod, model=1, confidence=TRUE, level=0.05, ...)
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, ... |
Draw a plot of the penalty against the ferquency of the categories.
Francois Husson
JAR
## Not run:
data(JAR)
res.jar <- JAR(JAR,col.p=13,col.j=1,col.pref=2)
plot.JAR(res.jar,name.prod="284", model=1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.