Usage
densityBy(x,grp=NULL,grp.name=NULL,ylab="Observed",xlab="",main="Density plot",density=20,
restrict=TRUE,xlim=NULL,add=FALSE,col=NULL,pch=20, ...)
violinBy(x,grp=NULL,grp.name=NULL,ylab="Observed",xlab="",main="Density plot",density=20,
restrict=TRUE,xlim=NULL,add=FALSE,col=NULL,pch=20, ...)
Arguments
grp.name
If the grouping variable is specified, the what names should be give to the group? Defaults to 1:ngrp
density
How many lines per inch to draw
restrict
Restrict the density to the observed max and min of the data
xlim
if not specified, will be .5 beyond the number of variables
col
Allows for specification of colours. The default for 2 groups is
blue and red, for more group levels, rainbows.
pch
The plot character for the mean is by default a small filled circle. To not show the mean, use pch=NA
...
Other graphic parameters