{"id":19590236,"url":"https://github.com/guyabel/fanplot","last_synced_at":"2025-04-27T12:33:17.332Z","repository":{"id":26279508,"uuid":"29727022","full_name":"guyabel/fanplot","owner":"guyabel","description":"Create fan charts in R","archived":false,"fork":false,"pushed_at":"2022-05-02T05:09:10.000Z","size":89349,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T00:37:01.560Z","etag":null,"topics":["data-visualization","dataviz","fanchart","r","rstats","rstats-package","uncertainty-visualisation"],"latest_commit_sha":null,"homepage":"http://guyabel.github.io/fanplot/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guyabel.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-23T10:00:05.000Z","updated_at":"2025-03-03T19:55:17.000Z","dependencies_parsed_at":"2022-08-21T05:20:39.528Z","dependency_job_id":null,"html_url":"https://github.com/guyabel/fanplot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyabel%2Ffanplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyabel%2Ffanplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyabel%2Ffanplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyabel%2Ffanplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guyabel","download_url":"https://codeload.github.com/guyabel/fanplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251138934,"owners_count":21541976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","dataviz","fanchart","r","rstats","rstats-package","uncertainty-visualisation"],"created_at":"2024-11-11T08:23:57.861Z","updated_at":"2025-04-27T12:33:15.590Z","avatar_url":"https://github.com/guyabel.png","language":"R","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  # fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# fanplot\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/fanplot)](https://CRAN.R-project.org/package=fanplot)\n[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/fanplot?color=blue)](https://r-pkg.org/pkg/fanplot)\n[![Lifecycle: superseded](https://img.shields.io/badge/lifecycle-superseded-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#superseded)\n[![R-CMD-check](https://github.com/guyabel/fanplot/workflows/R-CMD-check/badge.svg)](https://github.com/guyabel/fanplot/actions)\n\u003c!-- badges: end --\u003e\n\n\u003cimg src='https://raw.githubusercontent.com/guyabel/fanplot/master/hex/logo_transp.png' align=\"right\" height=\"200\" style=\"float:right; height:200px;\"/\u003e\n\nVisualise 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.\n\nSee the [pkgdown site](http://guyabel.github.io/fanplot/) for full details.\n\n## ggplot\n\nThe 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.\n\n## Installation\n\nYou can install the released version of fanplot from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"fanplot\")\n```\n\nAnd the development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"guyabel/fanplot\")\n```\n\n\n## Example\n\n```{r example, fig.width=10, fig.height=8, eval=FALSE}\nlibrary(fanplot)\n\n# empty plot\nplot(NULL, xlim = c(1, 945), ylim = range(th.mcmc)*0.85, ylab = \"Volatility\")\n\n# add fan\nfan(th.mcmc)\n```\n\n```{r, echo=FALSE}\nknitr::include_graphics(\"https://raw.githubusercontent.com/guyabel/fanplot/master/README_files/figure-gfm/example-1.png\")\n```\n\n\n## Article\n\nRead more about the fanplot package in the *R Journal* [article](http://journal.r-project.org/archive/2015-1/abel.pdf) \n\n## Citation\n\nAbel, G. J. (2015). fanplot: An R package for visualising sequential distributions. *R Journal*, 7(1), 15–23. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyabel%2Ffanplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguyabel%2Ffanplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyabel%2Ffanplot/lists"}