Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkearney/hexagon
◀️⏹▶️ R package for creating hexagon shaped xy data frames.
https://github.com/mkearney/hexagon
hex-sticker hexagon hexbin hexo hexsticker mkearney-r-package r-package r-packages rstats stickers
Last synced: 3 months ago
JSON representation
◀️⏹▶️ R package for creating hexagon shaped xy data frames.
- Host: GitHub
- URL: https://github.com/mkearney/hexagon
- Owner: mkearney
- Created: 2018-04-09T16:59:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-17T08:05:27.000Z (about 6 years ago)
- Last Synced: 2024-07-31T19:28:32.405Z (7 months ago)
- Topics: hex-sticker, hexagon, hexbin, hexo, hexsticker, mkearney-r-package, r-package, r-packages, rstats, stickers
- Language: R
- Homepage:
- Size: 681 KB
- Stars: 41
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# hexagon
![]()
[](https://www.tidyverse.org/lifecycle/#experimental)
R package for creating hexagon shaped xy data frames.
## Installation
To get the current development version from Github:
```{r, eval=FALSE}
## install devtools package if it's not already
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}## install dev version of hexagon from github
devtools::install_github("mkearney/hexagon")## load rtweet package
library(hexagon)
```## Usage
```{r, eval=FALSE}
## create hexagon xy data frame using argument defaults
hex1 <- hexdf()## plot outline of hexagon
with(hex1, plot(x, y, type = "l"))
```
![]()
![]()
![]()