https://github.com/mkearney/tidycor
🎓 Tidy correlation tools for academics
https://github.com/mkearney/tidycor
correlation quantitative-methods rstats statistics tidyversity
Last synced: about 1 year ago
JSON representation
🎓 Tidy correlation tools for academics
- Host: GitHub
- URL: https://github.com/mkearney/tidycor
- Owner: mkearney
- License: other
- Created: 2018-06-04T13:42:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T22:13:42.000Z (over 7 years ago)
- Last Synced: 2025-01-15T09:44:24.422Z (over 1 year ago)
- Topics: correlation, quantitative-methods, rstats, statistics, tidyversity
- Language: R
- Homepage:
- Size: 273 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
eval = TRUE
)
options(width = 100)
polcom <- tidyversity::polcom
```
# tidycor
[](https://www.tidyverse.org/lifecycle/#experimental)
🎓 Tidy tools for academics
## \*\*\* This package is in very early development. Feedback is encouraged!!! \*\*\*
## Installation
Install the development version from [Github](https://github.com/mkearney/tidycor) with:
```{r install, eval=FALSE}
## install devtools if not already
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
## install tidycor from Github
devtools::install_github("mkearney/tidycor")
```
Load the package (it, of course, plays nicely with tidyverse).
```{r library}
## load tidyverse
library(tidyverse)
## load tidycor
library(tidycor)
```
## Reliability
Estimate Cronbach's alpha for a set of variables.
```{r reliability}
## reliability of social media use items
cronbachs_alpha(polcom, ambiv_sexism_1:ambiv_sexism_6)
```