ggformula
Provides a formula interface to 'ggplot2' graphics.
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 9 committers (22.2%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.6%) to scientific vocabulary
Last synced: 11 months ago
·
JSON representation
Repository
Provides a formula interface to 'ggplot2' graphics.
Basic Info
Statistics
- Stars: 38
- Watchers: 8
- Forks: 12
- Open Issues: 15
- Releases: 0
Fork of rpruim/statisticalModeling
Created over 9 years ago
· Last pushed 11 months ago
https://github.com/ProjectMOSAIC/ggformula/blob/main/
# ggformula
[](https://github.com/ProjectMOSAIC/ggformula/actions)
[](https://cran.r-project.org/package=ggformula)
## Formula interface to ggplot2
`ggformula` introduces a family of graphics functions, `gf_point()`,
`gf_density()`, and so on, bring the formula interface to `ggplot()`.
This captures and extends the excellent simplicity of the
`lattice`-graphics formula interface, while providing the intuitive add
this component capabilities of `ggplot2`.
## Installation
You can install ggformula from CRAN sith
``` r
install.packages("ggformula")
```
or from github with:
``` r
# install.packages("devtools")
devtools::install_github("ProjectMOSAIC/ggformula")
```
## Using ggformula
The following example illustrates a typical plot constructed with
ggformula.
``` r
suppressPackageStartupMessages(library(ggformula))
data(penguins, package = "palmerpenguins")
penguins |>
set_variable_labels(
bill_length_mm = "bill length (mm)",
bill_depth_mm = "bill depth (mm)"
) |>
gf_jitter(bill_length_mm ~ bill_depth_mm | island ~ sex, color = ~ species,
width = 0.05, height = 0.05, size = 0.5, alpha = 0.6) |>
gf_density2d(alpha = 0.3) |>
gf_labs(title = "Palmer Penguins",
caption = "Data available in palmerpenguins package"
) |>
gf_refine(scale_color_brewer(type = "qual")) |>
gf_theme(theme_bw()) |>
gf_theme(
legend.position = 'top',
text = element_text(colour = "navy", face = "italic")
)
#> Warning: Removed 2 rows containing non-finite values (`stat_density2d()`).
#> Warning: Computation failed in `stat_density2d()`
#> Caused by error in `if (any(h <= 0)) ...`:
#> ! missing value where TRUE/FALSE needed
#> Warning: Removed 2 rows containing missing values (`geom_point()`).
```

### More Information
Find out more about `ggformula` at
.
Owner
- Name: Project MOSAIC
- Login: ProjectMOSAIC
- Kind: organization
- Location: Calvin College (Grand Rapids, Michigan, USA)
- Website: http://mosaic-web.org/
- Repositories: 23
- Profile: https://github.com/ProjectMOSAIC
Project MOSAIC is a community of educators working to develop a new way to introduce mathematics, statistics, computation and modeling.
GitHub Events
Total
- Issues event: 11
- Issue comment event: 21
- Push event: 9
- Fork event: 1
- Create event: 1
Last Year
- Issues event: 11
- Issue comment event: 21
- Push event: 9
- Fork event: 1
- Create event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Randall Pruim | r****m@g****m | 599 |
| Randall Pruim | r****m@g****m | 128 |
| dtkaplan | d****n@g****m | 82 |
| Nick Carchedi | n****i@g****m | 4 |
| Danny Kaplan | k****n@m****u | 2 |
| Jason Klaassen | j****4@s****u | 2 |
| Ian Curtis | i****3@g****m | 1 |
| Joseph Larmarange | j****h@l****t | 1 |
| Nicholas Horton | n****n@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 113
- Total pull requests: 4
- Average time to close issues: 6 months
- Average time to close pull requests: 24 days
- Total issue authors: 31
- Total pull request authors: 4
- Average comments per issue: 2.87
- Average comments per pull request: 1.75
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 6
- Pull requests: 0
- Average time to close issues: 17 days
- Average time to close pull requests: N/A
- Issue authors: 4
- Pull request authors: 0
- Average comments per issue: 2.17
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rpruim (51)
- nicholasjhorton (16)
- jiyunson (6)
- dtkaplan (4)
- luebby (3)
- lahvak (3)
- homerhanumat (3)
- lbcollins (3)
- EricSHo (2)
- MichaelJMahometa (1)
- larmarange (1)
- VectorPosse (1)
- olivroy (1)
- aloy (1)
- discnerd (1)
Pull Request Authors
- ian-curtis (1)
- MichaelChirico (1)
- NinjaMarshmallow (1)
- larmarange (1)
Top Labels
Issue Labels
feature request (8)
documentation (7)
enhancement (5)
wish list (5)
duplicate (2)
bug (2)
decision needed (1)
low priority (1)
high priority (1)
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 21,828 last-month
- Total docker downloads: 52,225
-
Total dependent packages: 16
(may contain duplicates) -
Total dependent repositories: 30
(may contain duplicates) - Total versions: 24
- Total maintainers: 1
cran.r-project.org: ggformula
Formula Interface to the Grammar of Graphics
- Homepage: https://github.com/ProjectMOSAIC/ggformula
- Documentation: http://cran.r-project.org/web/packages/ggformula/ggformula.pdf
- License: MIT + file LICENSE
-
Latest release: 0.12.2
published about 1 year ago
Rankings
Downloads: 3.0%
Dependent packages count: 4.4%
Dependent repos count: 5.0%
Forks count: 7.9%
Stargazers count: 8.3%
Average: 9.1%
Docker downloads count: 25.7%
Maintainers (1)
Last synced:
11 months ago
conda-forge.org: r-ggformula
- Homepage: https://github.com/ProjectMOSAIC/ggformula
- License: MIT
-
Latest release: 0.10.2
published almost 4 years ago
Rankings
Dependent packages count: 15.6%
Dependent repos count: 24.3%
Average: 33.7%
Stargazers count: 44.1%
Forks count: 50.6%
Last synced:
11 months ago