# NOT RUN {
## Load the disparity data based on Beck & Lee 2014
data(disparity)
## Discrete plotting
plot(disparity, type = "box")
## Using polygons rather than boxes (quantiles and central tendency can be
## set by the user)
plot(disparity, type = "polygon", quantiles = c(10, 50, 95),
cent.tend = mean)
## Using different options
plot(disparity, type = "line", elements = TRUE, ylim = c(0, 3),
xlab = ("Time (Ma)"), ylab = "disparity")
## Continuous plotting (all default options)
plot(disparity, type = "continuous")
## Rarefactions plots
plot(disparity, rarefaction = TRUE)
## Observed data
plot(disparity, observed = TRUE)
## Observed data with graphical details
plot(disparity, observed = list("pch" = 19, col = "blue", cex = 4))
# }
Run the code above in your browser using DataLab