plotTs(x, dot.size = 1, xlab = NULL, ylab = NULL, strip.labels = colnames(x), ...)
plotTs
plots only isolated points as well as lines joining adjacent observations.Options are passed to the underlying facet_wrap
function in ggplot2. The main ones of interest are ncol
for setting the number of plotting columns and scales = "free_y"
for allowing the y scales of the different plots to be independent.
plotTsAnom
# Chlorophyll at 4 stations in SF Bay
chl <- sfbayChla[, 1:4]
plotTs(chl, dot.size = 1.5, ylab = 'Chl-a', strip.labels = paste('Station',
substring(colnames(chl), 2, 3)), ncol = 1, scales = "free_y")
Run the code above in your browser using DataLab