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: 6 days 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 (about 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 (3 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
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/describer)](http://cran.r-project.org/package=describer)
[![Downloads from the RStudio CRAN mirror](http://cranlogs.r-pkg.org/badges/describer)](http://cran.rstudio.com/package=describer)
[![Build Status](https://travis-ci.org/paulhendricks/describer.png?branch=master)](https://travis-ci.org/paulhendricks/describer)
[![Build status](https://ci.appveyor.com/api/projects/status/jyh7mh23q1htalww/branch/master?svg=true)](https://ci.appveyor.com/project/paulhendricks/describer/branch/master)
[![codecov.io](http://codecov.io/github/paulhendricks/describer/coverage.svg?branch=master)](http://codecov.io/github/paulhendricks/describer?branch=master)
[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/0.1.0/active.svg)](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},
}
```