R/plot.rwl.R

Defines functions plot.rwl

Documented in plot.rwl

plot.rwl <- function(x, plot.type=c("seg","spag"),...){
  if (!inherits(x, "rwl")) {
    stop('use only with "rwl" objects')
  }
  switch(match.arg(plot.type),
         seg = seg.plot(x,...),
         spag = spag.plot(x,...))
}
AndyBunn/dplR documentation built on April 20, 2024, 10:33 p.m.