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)
}

Try the OutliersO3 package in your browser

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

OutliersO3 documentation built on Feb. 9, 2018, 6:08 a.m.