R/QuartileRange.R

Defines functions QuartileRange

Documented in QuartileRange

QuartileRange = function(y, Type=2) 
{
  y = as.numeric(y)  
  if (!(is.numeric(y) & is.vector(y))) stop("Input should be a numeric vector!")   
  IQR(y, na.rm=TRUE, type=Type)
}

Try the sasLM package in your browser

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

sasLM documentation built on Nov. 19, 2023, 5:12 p.m.