-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
53 lines (36 loc) · 2.01 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
43
44
45
46
47
48
49
50
51
52
53
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include=FALSE}
knitr::opts_chunk$set(
collapse=TRUE,
comment="#>",
fig.path="man/figures/README-",
fig.height = 7,
out.width="100%"
)
```
# crosstable
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/crosstableAssistant)](https://CRAN.R-project.org/package=crosstable)
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
Crosstable is a package centered on a single function, `crosstable`, which easily computes descriptive statistics on datasets. You can learn about it on its [dedicated page](https://github.com/DanChaltiel/crosstable).
CrosstableAssistant is an RShiny application, designed as an RStudio addin, which makes the use of `crosstable` much easier by providing a graphical interface for all its parameters.
## Installation
```{r install, eval=FALSE}
install.packages("devtools")
devtools::install_github("DanChaltiel/crosstable")
devtools::install_github("DanChaltiel/crosstableAssistant")
```
Of note, it seems that updating packages cause the whole process to fail. In this case, choosing `3: None` when asked for which package to update seems to solve this problem. Otherwise, please [fill an issue](https://github.com/DanChaltiel/crosstableAssistant/issues) describing the error message.
## Usage
```{r usage0, eval=FALSE}
library(crosstable)
my_dataset = crosstable::mtcars2
crosstableAssistant(my_dataset)
```
Alternatively, if you are using RStudio, you can use the "Crosstable Assistant" addin. Just select your dataset in the "source" panel and it will be loaded inside the assistant.
## Acknowledgement
This `crosstableAssistant` package is highly inspired by `dreamRs`' amazing addin `esquisse` ([link](https://github.com/dreamRs/esquisse)), which is designed to easily build plots with ggplot2. If you never did, you should definitely give it a try.
Thanks `dreamRs`!