R/O3plotColours.R

Defines functions O3plotColours

Documented in O3plotColours

O3plotColours <- function(colours = c("khaki", "yellow", "red", "lightgreen",
                           "lightblue", "red", "slategray1", "slategray2",
                           "slategray3", "slategray4", "orange", "red"), colors) {
#Allow either colours or colors
    if(!missing(colors)) {
    if(!missing(colours))
      stop("Please specify colours or colors but not both.")
    else
      colours <- colors
  }
  
  list(colours=colours)
}
antonr4/OutliersO3 documentation built on May 26, 2020, 1:25 a.m.