The wCorr package can be used to calculate Pearson, Spearman, polyserial, and polychoric correlations, in weighted or unweighted form. The package implements the tetrachoric correlation as a specific case of the polychoric correlation and biserial correlation as a specific case of the polyserial correlation. When weights are used, the correlation coefficients are calculated with so called sample weights or inverse probability weights. Check out the Articles section to learn more about the methodology used in the wCorr package, read here and the use of applying two Boolean switches.


# You can install the released version of wCorr from CRAN with:
# And the development version from GitHub  with: