rplotterpkg

Contains functionalized geom's from ggplot2 for repeating plotting graphics without repeating extensive ggplot2 "trees".

https://github.com/deandevl/rplotterpkg

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Contains functionalized geom's from ggplot2 for repeating plotting graphics without repeating extensive ggplot2 "trees".

Basic Info
  • Host: GitHub
  • Owner: deandevl
  • License: other
  • Language: R
  • Default Branch: main
  • Size: 700 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# RplotterPkg

The goal of RplotterPkg is to provide easy access to the many ggplot2 geom plotting routines for everyday use.  The package uses a functional approach along with the fast, efficient data frame processing from [`data.table`](https://github.com/Rdatatable/data.table "data.table github").


## Installation

The package is available for installation from [CRAN](https://cran.r-project.org/web/packages/available_packages_by_name.html).

You can install the development version of RplotterPkg from [GitHub](https://github.com/) with:

Using `pak::pak()`:

`pak::pak("deandevl/RplotterPkg")`

Using `devtools::install_github()`:

`devtools::install_github("deandevl/RplotterPkg")`

## Examples

The following script shows how simple it is to create a standard scatter plot.  Other standard plots include bar, box, density, density_ridge, histogram, range, heatmap, and stick plots. 

Other functions for plots are available including multi_panel, spread_level, stem_leaf, and symmetry.

Additional examples showing heatmap, waffle, and stem_leaf are
available [here](https://rplotterpkg-ex.netlify.app/).

```{r message=FALSE, fig.width=10}
library(ggplot2)
library(RplotterPkg)

RplotterPkg::create_scatter_plot(
    df = ggplot2::economics,
    aes_x = "date",
    aes_y = "unemploy",
    pts_shape = 21,
    pts_fill = "black",
    line_color = "violet",
    connect = TRUE,
    title = "US Monthly Unemployment",
    subtitle = "July, 1967 to April, 2015 (in thousands)",
    x_title = "Date",
    y_title = "Unemployment",
    rot_y_tic_label = TRUE,
    x_date_labels = "%Y-%b",
    x_major_date_breaks = "5 year",
    y_limits = c(0, 16000),
    y_major_breaks = seq(0, 16000, 2000),
    show_minor_grids = F,
    bold_y = 8000,
    bold_y_color = "red",
    bold_y_linetype = "dashed"
  )
```


Owner

  • Login: deandevl
  • Kind: user

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
  • Push event: 22
  • Create event: 5
Last Year
  • Issues event: 1
  • Watch event: 2
  • Push event: 22
  • Create event: 5

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • deandevl (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 178 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: RplotterPkg

R Plotting Functions Using 'ggplot2'

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 178 Last month
Rankings
Dependent packages count: 27.1%
Dependent repos count: 33.4%
Average: 49.1%
Downloads: 87.0%
Maintainers (1)
Last synced: 11 months ago