powered by
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)
a list of factors
a vector of character strings with the names of factors in data.frame
a vector of character strings with the names of factors
data.frame if used character string for vars
a title for the x axis
a title for the y axis
an overall title for the plot
a vector of colors for each levels of first factor
color of the text in whole plot
the background color for plot dekoration
a vector of colors or single color for areas where all levels are drawn
a parameter in [0, 1] for semi-transparency of polygons
character expansion factor for levels printing
a number between 0 and 6 for selection the dekoration style of the plot.
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)
Run the code above in your browser using DataLab