knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
describer
quickly and easily describes data using common descriptive statistics.
You can install the latest development version from CRAN:
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 on GitHub.
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
.
library(reshape2) pandas_describe_mtcars <- mtcars %>% pd_describe pandas_describe_mtcars %>% knitr::kable(format = "markdown") str(pandas_describe_mtcars)
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}, }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.