R/plot.ifile.R

Defines functions plot.ifile

Documented in plot.ifile

plot.ifile <- function(x, theta = seq(-4, 4, length = 100),
  subset = 1:nrow(x), ...) {

  if(is.character(subset))
    subset <- which(x$name == subset)
  b <- x$measure[subset]

  if(interactive()) {
    plot(rirf(b, theta), ...)
    readline("Enter to see next plot")
    plot(riif(b, theta), ...)
    readline("Enter to see next plot")
    plot(rief(b, theta), ...)
    readline("Enter to see next plot")
    plot(rtrf(b, theta), ...)
    readline("Enter to see next plot")
    plot(rtif(b, theta), ...)
    readline("Enter to see next plot")
    plot(rtef(b, theta), ...)
  }
}

Try the Rwinsteps package in your browser

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

Rwinsteps documentation built on May 2, 2019, 1:08 p.m.