tests/test.plotDots.R

library(oaPlots)

x <- sample(1:5, size = 25, replace = TRUE)
plot(x = -1, y = -1, xlim = c(0.5,1.5), ylim = range(x), 
    ylab = "", xlab = "")
colVec <- c(rep("olivedrab", 15), rep("goldenrod", 5), rep("red", 5))

boxplot(x)
plotDots(vec = x, xLeft = 0.9, xRight = 1.1, pch = 19, 
    col = colVec, cex = 2)

Try the oaPlots package in your browser

Any scripts or data that you put into this service are public.

oaPlots documentation built on May 2, 2019, 6:46 a.m.