jitterp {paleoDiv} | R Documentation |
plot data as a jitter-plot
Description
plot data as a jitter-plot
Usage
jitterp(x, y, width, col = "black", alpha = 0.5, ...)
Arguments
x |
x values to plot (if single value and y is a vector, plot is vertical) |
y |
y value at which to plot (if single value, plot is horizontal) |
width |
standard deviation for jitter |
col |
color for points |
alpha |
opacity for points |
... |
other parameters to be passed on to points() |
Value
adds the points to the open plotting device as a jitter plot and returns an invisible list()-object containing the positions of all points
Examples
c(1,2,3,2,3,2,3,4,4)->tmp
hist(tmp)
jitterp(x=tmp, y=1, width=0.1)
[Package paleoDiv version 0.4.6 Index]