You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jonathan Sidi
eba29cc9ed
|
5 years ago | |
---|---|---|
R | 5 years ago | |
README_figs | 5 years ago | |
docs | 5 years ago | |
inst | 5 years ago | |
man | 5 years ago | |
revdep | 7 years ago | |
tests | 9 years ago | |
vignettes | 5 years ago | |
.Rbuildignore | 5 years ago | |
.gitignore | 8 years ago | |
.travis.yml | 5 years ago | |
CONDUCT.md | 9 years ago | |
DESCRIPTION | 5 years ago | |
LICENSE | 7 years ago | |
NAMESPACE | 6 years ago | |
NEWS.md | 6 years ago | |
README.Rmd | 5 years ago | |
README.md | 5 years ago | |
_pkgdown.yml | 5 years ago | |
appveyor.yml | 7 years ago | |
cran-comments.md | 7 years ago | |
ggalt.Rproj | 5 years ago |
README.md
ggalt
A compendium of ‘geoms’, ‘coords’, ‘stats’, scales and fonts for ‘ggplot2’, including splines, 1d and 2d densities, univariate average shifted histograms, a new map coordinate system based on the ‘PROJ.4’-library and the ‘StateFace’ open source font ‘ProPublica’.
Installation
# you'll want to see the vignettes, trust me
install.packages("ggplot2")
install.packages("ggalt")
# OR: devtools::install_github("hrbrmstr/ggalt")
Geoms/Stats
Geom | Description | Uses |
---|---|---|
coord_proj() |
Like coord_map , only better (prbly shld use this with geom_cartogram as geom_map ’s new defaults are ugh) |
|
geom_stateface() |
Use ProPublica’s StateFace font in ggplot2 plots | |
geom_ubar() |
Uniform width bar charts | |
geom_horizon() |
Horizon charts (modified from ggTimesSeries ) | |
geom_xspline() stat_xspline() |
Connect control points/observations with an X-spline | |
geom_bkde() stat_bkde() |
Display a smooth density estimate | KernSmooth::bkde |
geom_bkde2d() stat_bkde2d() |
Contours from a 2d density estimate. | KernSmooth::bkde2D |
stat_ash() |
Compute and display a univariate averaged shifted histogram (polynomial kernel) | ash::ash1 /ash::bin1 |
geom_encircle() |
Automatically enclose points in a polygon | |
geom_lollipop() |
Dead easy lollipops (horizontal or vertical) | |
geom_dumbbell() |
Dead easy dumbbell plots | |
stat_stepribbon() |
Step ribbons | |
annotation_ticks() |
Add minor ticks to identity, exp(1) and exp(10) axis scales independently of each other. | |
geom_spikelines() |
Instead of geom_vline and geom_hline a pair of segments that originate from same c(x,y) are drawn to the respective axes. |
Utility Functions
Function | Description |
---|---|
byte_format() |
helpers. e.g. turn 10000 into 10 Kb |
note: plotly integration for a few of the ^^ geoms
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.