R/drawLine.R

Defines functions drawLine

#' @importFrom graphics abline axis lines mtext par plot points title
drawLine <- function(x, ...) {
  opar <- par("xpd" = NA)
  on.exit(par(opar))
  for (i in 1:length(x)) {
    lines(c(x[i], x[i]), c(-1.08, 1.425), ...)
  }
}

Try the xRing package in your browser

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

xRing documentation built on April 22, 2022, 5:05 p.m.