DOT {easyCODA} | R Documentation |
Simple dot plot of original data
DOT(data, cols=NA, names=NA, groups=NA, pch=19, horizon=FALSE, jitter=1, xscale=NA, xscalefac=1, yaxis=TRUE, shownames=TRUE, main="", ylab="", xlim=c(NA,NA), ylim=c(NA, NA), cex=1)
data |
Matrix or data frame with data in columns (even if single sample, should be a matrix) |
cols |
Colours of points for each sample, default rainbow |
names |
Labels for variables, by default the column names of data, or group names |
groups |
Group codes to split the data vector into separate plots |
pch |
Point character |
horizon |
|
jitter |
1 by default, increase or decrease slightly for more jitter |
xscale |
User-supplied positions of points on horizontal axis |
xscalefac |
1 by default, rescale the positions on horizontal axis |
yaxis |
TRUE by default, FALSE to suppress and optionally add afterwards |
shownames |
|
main |
Heading |
ylab |
Vertical axis label |
xlim |
Horizontal axis limits |
ylim |
Vertical axis limits |
cex |
Character size adjustment for labels |
The function DOT
makes a dot plot for specified groups of points, which can be in columns of a matrix or data frame.
Michael Greenacre
Greenacre, M. (2016), Data reporting and visualization in ecology, Polar Biology, 39:2189-2205.
data(veg) DOT(veg)