R/plot.varying.bayesx.R

Defines functions plot.varying.bayesx

plot.varying.bayesx <-
function(x, ...)
{
  args <- list(...)
  if(is.null(args$ask))
    ask <- FALSE
  else
    ask <- args$ask
  nx <- length(x)
  if(!ask)
    setmfrow(nx)
  else
    par(ask = TRUE)
  for(i in 1L:nx) {
    args$x <- x[[i]]
    do.call("plot", args)
  }

  return(invisible(NULL))
}

Try the R2BayesX package in your browser

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

R2BayesX documentation built on Oct. 20, 2023, 3:01 p.m.