R/iqr.R

iqr <- function (x, na.rm = FALSE,digits,...){
  paste("[",paste(format(quantile(as.numeric(x), c(0.25, 0.75), na.rm = na.rm),digits=digits,nsmall=digits),collapse=","),"]",sep="")
}

Try the Publish package in your browser

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

Publish documentation built on Jan. 18, 2023, 1:08 a.m.