https://github.com/hadley/ggstat
Statistical computations for visualisation
https://github.com/hadley/ggstat
Last synced: 9 months ago
JSON representation
Statistical computations for visualisation
- Host: GitHub
- URL: https://github.com/hadley/ggstat
- Owner: hadley
- Created: 2014-11-11T20:06:07.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-09T22:29:18.000Z (over 9 years ago)
- Last Synced: 2025-04-14T04:16:52.041Z (9 months ago)
- Language: C++
- Size: 89.8 KB
- Stars: 70
- Watchers: 6
- Forks: 12
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ggstat
[](https://travis-ci.org/hadley/ggstat)
[](https://codecov.io/github/hadley/ggstat?branch=master)
[](https://cran.r-project.org/package=ggstat)
The goal of ggstat is to extract out useful statistical transformations needed by visualisation tools and make them as fast as possible.
ggstat will provides two families of functions:
1. Functions that work directly on the raw data, and work with hundreds of
thousands of observations.
1. Functions follow the [bigvis](http://vita.had.co.nz/papers/bigvis.html)
philosophy of bin-summarise-smooth, that scale to millions of observations.
ggstat provides a low-level vector-based interface. Functions have at most three vector inputs (`x`, `y`, and `wt`), as well as parameters that control the operation of the function. Each summary function is paired with a parameter function that will guess reasonable defaults from data. All functions return a data frame with consistent variable names and types. Most people will use ggstat via a visualisation package like [ggplot2](http://ggplot2.org) or [ggvis](http://ggvis.rstudio.com): using ggstat directly will general be frustrating because you have to call multiple functions to get the job done.
## Installation
You can install ggstat from github with:
```R
# install.packages("devtools")
devtools::install_github("hadley/ggstat")
```