Description Usage Arguments Details Author(s) Examples
View source: R/plotBoxesByFactor.R
plotBoxesByFactor
generates box-plots of several variable by a factor.
1 | plotBoxesByFactor(xVars, groups, ncol=3, zTrans=TRUE, varwidth=FALSE)
|
xVars |
data-frame of metric variables. |
groups |
factor variable. |
ncol |
number of layout columnes. |
zTrans |
logical. |
varwidth |
logical. |
This function organizes several box-plots of metric variables broken by a factor variable in to a layout. By default 3 box-plots are shown per row and the variables are standardized by the z-transformation. As the number of factor levels increases the number of plots per row should be decreased to maintain a reasonable visual resolution.
Michael Tiefelsdorf <tiefelsdorf@utdallas.edu>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.