View source: R/parallel.set.ade.R
parallel.set.ade | R Documentation |
Plot proportions of categorical data in parallel manner
parallel.set.ade(vars, vnames=NULL, data=NULL, xlab="Factors", ylab="Proportion", main=NULL, col=NULL, tcol=NULL, bgcol=NULL, lcol=NULL, alpha=NULL, cex=NULL, wall=0, horizontal=FALSE)
vars |
|
vnames |
a vector of character strings with the names of factors |
data |
data.frame if used character string for vars |
xlab |
a title for the x axis |
ylab |
a title for the y axis |
main |
an overall title for the plot |
col |
a vector of colors for each levels of first factor |
tcol |
color of the text in whole plot |
bgcol |
the background color for plot dekoration |
lcol |
a vector of colors or single color for areas where all levels are drawn |
alpha |
a parameter in [0, 1] for semi-transparency of polygons |
cex |
character expansion factor for levels printing |
wall |
a number between 0 and 6 for selection the dekoration style of the plot. |
horizontal |
logical asking whether to draw the plot horizontally |
parallel.ade
x<-rbinom(1000, 1, 0.25) y<-rbinom(1000, 1, 0.5) z<-rbinom(1000, 1, 0.75) parallel.set.ade(list(x,y,z), wall=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.