R/outlierPlot.r

Defines functions outlierPlot

Documented in outlierPlot

# Wrapper function for outlier plots
outlierPlot <- function(y, L, mode="qq", ...)
{
   if ( mode=="residual" & L$method != "Method II" )
      stop("residual plot is only available for Method II")
   
   switch(mode,
      qq = qqFitPlot(y, L, ...),
      residual = plotMethodII(y, L, ...),
      stop("Plot mode not recognized")
      )

}

Try the extremevalues package in your browser

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

extremevalues documentation built on July 1, 2020, 6:19 p.m.