https://github.com/mkearney/tidycat
🎓 Tidy categorical tools for academics
https://github.com/mkearney/tidycat
categorical-data chisq-test chisquare-test quantitative-methods rstats statistics t-test tidyversity
Last synced: about 2 months ago
JSON representation
🎓 Tidy categorical tools for academics
- Host: GitHub
- URL: https://github.com/mkearney/tidycat
- Owner: mkearney
- License: other
- Created: 2018-06-04T13:33:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T03:03:31.000Z (almost 8 years ago)
- Last Synced: 2025-12-05T13:13:43.451Z (7 months ago)
- Topics: categorical-data, chisq-test, chisquare-test, quantitative-methods, rstats, statistics, t-test, tidyversity
- Language: R
- Homepage:
- Size: 280 KB
- Stars: 2
- Watchers: 1
- 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
```
# tidycat
[](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/tidycat) with:
```{r install, eval=FALSE}
## install devtools if not already
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
## install tidycat from Github
devtools::install_github("mkearney/tidycat")
```
Load the package (it, of course, plays nicely with tidyverse).
```{r library}
## load tidyverse
library(tidyverse)
## load tidycat
library(tidycat)
```
### t-tests
```{r ttest}
polcom %>%
tidy_ttest(pp_ideology ~ follow_trump) %>%
tidy_summary()
```