moreboxplot | R Documentation |
Plots a boxplots plus x-axis randomised scatter and mirrored densities to visualise a distribution.
moreboxplot(
x,
box = TRUE,
dens = TRUE,
scatter = "no",
polygon = TRUE,
sd = 0.1,
dcol = NULL,
scol = NULL,
dlty = 1,
dlwd = 1,
spch = 1,
gcol = rgb(0, 0, 0, 0.5),
glty = 2,
glen = 2001,
gmin = -100,
gmax = 100,
...
)
x |
list, matrix or data.frame |
box |
if TRUE, draws boxes |
dens |
if TRUE, draws densities |
scatter |
if set to "random", draws x-axis randomised scatter points |
polygon |
if TRUE, filles the densities |
sd |
standard deviation of the scatter |
dcol |
color of the densities |
scol |
color of the scatter points |
dlty |
line type of the densities |
dlwd |
line width of the densities |
spch |
type of scatter points |
gcol |
color of the grid |
glty |
line type of the grid |
glen |
length of the grid |
gmin |
minimal point of the grid |
gmax |
maximal point of the grid |
... |
optional parameters for boxplot or plot |
transitively closed matrix or graphNEL
Martin Pirkl
D <- matrix(rnorm(100*3), 100, 3)
moreboxplot(D)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.