Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulhendricks/describer
Describe data in R
https://github.com/paulhendricks/describer
Last synced: 4 months ago
JSON representation
Describe data in R
- Host: GitHub
- URL: https://github.com/paulhendricks/describer
- Owner: paulhendricks
- License: other
- Created: 2015-09-02T13:40:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-01T19:38:38.000Z (over 7 years ago)
- Last Synced: 2024-08-13T07:15:35.015Z (6 months ago)
- Language: R
- Homepage:
- Size: 43.9 KB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - paulhendricks/describer - Describe data in R (R)
README
---
output:
github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# describer
[](http://cran.r-project.org/package=describer)
[](http://cran.rstudio.com/package=describer)
[](https://travis-ci.org/paulhendricks/describer)
[](https://ci.appveyor.com/project/paulhendricks/describer/branch/master)
[](http://codecov.io/github/paulhendricks/describer?branch=master)
[](http://www.repostatus.org/#active)`describer` quickly and easily describes data using common descriptive statistics.
## Installation
You can install the latest development version from CRAN:
```R
install.packages("describer")
````Or from GitHub with:
```R
if (packageVersion("devtools") < 1.6) {
install.packages("devtools")
}
devtools::install_github("paulhendricks/describer")
```If you encounter a clear bug, please file a [minimal reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) on [GitHub](https://github.com/paulhendricks/describer/issues).
## API
```{r}
library(dplyr, warn.conflicts = FALSE)
library(describer)mtcars %>%
describe %>%
knitr::kable(format = "markdown")mtcars %>%
group_by(cyl) %>%
do(describe(.)) %>%
knitr::kable(format = "markdown")
```To mimic the exact `pandas.describe()` behavior, use `pd_describe`.
```{r}
library(reshape2)pandas_describe_mtcars <-
mtcars %>%
pd_describepandas_describe_mtcars %>%
knitr::kable(format = "markdown")str(pandas_describe_mtcars)
```## Citation
To cite package ‘describer’ in publications use:
```
Paul Hendricks (2015). describer: Describe Data in R Using Common Descriptive Statistics. R package version 0.2.0. https://CRAN.R-project.org/package=describer
```A BibTeX entry for LaTeX users is
```
@Manual{,
title = {describer: Describe Data in R Using Common Descriptive Statistics},
author = {Paul Hendricks},
year = {2015},
note = {R package version 0.2.0},
url = {https://CRAN.R-project.org/package=describer},
}
```