#' BernSteen Generalised Gini BernSteen <- function(x) { n <- length(x) c <- sum(x) G1 <- ineq::Gini(x) G <- max(n/c, 1) * (G1 - 1) + 1 return(G) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.