R Package for the Political Independence Index