-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
43 lines (28 loc) · 1.65 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# wCorr
<!-- badges: start -->
[](https://www.r-pkg.org/badges/version-ago/wCorr)
[](https://cranlogs.r-pkg.org/badges/wCorr)
[](https://cranlogs.r-pkg.org/badges/grand-total/wCorr)
<!-- badges: end -->
## Overview
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](https://american-institutes-for-research.github.io/wCorr/articles/wCorrFormulas.html) and the use of applying two Boolean [switches](https://american-institutes-for-research.github.io/wCorr/articles/wCorrArguments.html).
## Installation
``` r
# You can install the released version of wCorr from CRAN with:
install.packages("wCorr")
# And the development version from GitHub with:
install.packages("devtools")
devtools::install_github("American-Institutes-for-Research/wCorr")
```