R/print-rcsplot.R

Defines functions print.rcsplot

Documented in print.rcsplot

#' Print  rcsplot
#'
#' @param x an object of rcsplot
#' @param ... more arguments.
#'
#' @keywords internal
#' @return No return value, called for drawing.
#' @export
print.rcsplot <- function(x, ...){
  if(attr(x, "explain")){
    cat("\n")
    cat(attr(x, "title"))
    cat("\n")
    cat(attr(x, "note"))
    cat("\n\n")
  }
  plot(x)
}

Try the plotRCS package in your browser

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

plotRCS documentation built on April 6, 2023, 9:23 a.m.