R/diffQQmu.R

Defines functions diffQQmu

Documented in diffQQmu

#' Auxiliary function diffQQmu
#'
#' Not exported
#'
#'
#' @param vettore a vector of values
#' @return Interquartile range divided by the mean
#' @importFrom stats quantile
#'

diffQQmu <-  function(vettore){
  (quantile(vettore,0.75)-quantile(vettore,0.25))/mean(vettore)
}

Try the convergEU package in your browser

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

convergEU documentation built on March 7, 2023, 7:22 p.m.