distro.dots | R Documentation |
Plot the raw distribution of points, like a series of horizontal box plots.
distro.dots(x, jit.f=1, add=FALSE, pd=0, vv=names(x), vvlabs=NULL,
xlim=range(unlist(x)), ...)
x |
a list of vectors of values to be plotted |
jit.f |
factor for random jittering (see 'jitter()' |
add |
should we add to the existing plot? |
pd |
'position dodge' moves all y axis plotting positions up or down by this provided value (useful for adding multiple distributions for the same variable) |
vv |
the variable vector for ordering the y-axis labels |
vvlabs |
the variable vector labels for labeling the plot (defaults to vv) |
xlim |
x axis plot limits |
... |
other parameters passed on to plot |
a 'distro dot plot' of variable distributions
n <- rnorm(130, 10, 3)
p <- rpois(110, 4)
u <- runif(300, 0, 20)
l <- rlnorm(130, log(2))
g <- rgamma(140, 3)
X <- list(a=u, random=n, array=p,of=l, variable=u, spreads=g)
distro.dots(x=X, jit.f=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.