R package to calculate the Kardashian index