Parallel set plot

Description

Plot proportions of categorical data in parallel manner

Usage

1
2
3
4
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)

Arguments

vars
  • a list of factors

  • a vector of character strings with the names of factors in data.frame

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

See Also

parallel.ade

Examples

1
2
3
4
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)