https://github.com/guyabel/fanplot

Create fan charts in R

https://github.com/guyabel/fanplot

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
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.3%) to scientific vocabulary

Keywords

data-visualization dataviz fanchart r rstats rstats-package uncertainty-visualisation
Last synced: 5 months ago · JSON representation

Repository

Create fan charts in R

Basic Info
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Topics
data-visualization dataviz fanchart r rstats rstats-package uncertainty-visualisation
Created about 11 years ago · Last pushed almost 4 years ago
Metadata Files
Readme

README.Rmd

---
output: github_document
---



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

# fanplot


[![CRAN status](https://www.r-pkg.org/badges/version/fanplot)](https://CRAN.R-project.org/package=fanplot)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/fanplot?color=blue)](https://r-pkg.org/pkg/fanplot)
[![Lifecycle: superseded](https://img.shields.io/badge/lifecycle-superseded-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#superseded)
[![R-CMD-check](https://github.com/guyabel/fanplot/workflows/R-CMD-check/badge.svg)](https://github.com/guyabel/fanplot/actions)




Visualise sequential distributions using a range of plotting styles. Sequential distribution data can be input as either simulations or values corresponding to percentiles over time. Plots are added to existing graphic devices using the fan function. Users can choose from four different styles, including fan chart type plots, where a set of coloured polygon, with shadings corresponding to the percentile values are layered to represent different uncertainty levels.

See the [pkgdown site](http://guyabel.github.io/fanplot/) for full details.

## ggplot

The plotting functions in fanplot was designed for working with graphics in base R. Jason Hilton has since developed the excellent [ggfan](https://github.com/jasonhilton/ggfan) package for creating fan charts in ggplot2.

## Installation

You can install the released version of fanplot from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("fanplot")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("guyabel/fanplot")
```


## Example

```{r example, fig.width=10, fig.height=8, eval=FALSE}
library(fanplot)

# empty plot
plot(NULL, xlim = c(1, 945), ylim = range(th.mcmc)*0.85, ylab = "Volatility")

# add fan
fan(th.mcmc)
```

```{r, echo=FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/guyabel/fanplot/master/README_files/figure-gfm/example-1.png")
```


## Article

Read more about the fanplot package in the *R Journal* [article](http://journal.r-project.org/archive/2015-1/abel.pdf) 

## Citation

Abel, G. J. (2015). fanplot: An R package for visualising sequential distributions. *R Journal*, 7(1), 15–23. 

Owner

  • Name: Guy Abel
  • Login: guyabel
  • Kind: user
  • Location: Tamsui, Taiwan

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 50
  • Total Committers: 2
  • Avg Commits per committer: 25.0
  • Development Distribution Score (DDS): 0.02
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Guy Abel g****l@g****m 49
unknown g****l@P****t 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 1 year ago

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

Packages

  • Total packages: 1
  • Total downloads:
    • cran 1,684 last-month
  • Total docker downloads: 43,390
  • Total dependent packages: 3
  • Total dependent repositories: 10
  • Total versions: 15
  • Total maintainers: 1
cran.r-project.org: fanplot

Visualisation of Sequential Probability Distributions Using Fan Charts

  • Versions: 15
  • Dependent Packages: 3
  • Dependent Repositories: 10
  • Downloads: 1,684 Last month
  • Docker Downloads: 43,390
Rankings
Docker downloads count: 0.6%
Dependent repos count: 9.2%
Forks count: 10.8%
Dependent packages count: 10.9%
Average: 12.1%
Downloads: 13.6%
Stargazers count: 27.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • methods * imports
  • shiny * suggests