ggfortify

Define fortify and autoplot functions to allow ggplot2 to handle some popular R packages.

https://github.com/sinhrks/ggfortify

Science Score: 36.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 26 committers (3.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary

Keywords from Contributors

visualisation rmarkdown tidy-data literate-programming pandoc book regression-models gbdt gbm gbrt
Last synced: 10 months ago · JSON representation

Repository

Define fortify and autoplot functions to allow ggplot2 to handle some popular R packages.

Basic Info
  • Host: GitHub
  • Owner: sinhrks
  • License: other
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 21.2 MB
Statistics
  • Stars: 530
  • Watchers: 22
  • Forks: 68
  • Open Issues: 21
  • Releases: 26
Created over 11 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog Contributing Funding License

README.md

Note: This package has been maintained by @terrytangyuan since 2015. Please consider sponsoring!

cran download

ggfortify

This package offers fortify and autoplot functions to allow automatic ggplot2 to visualize statistical result of popular R packages. Check out our R Journal paper for more details on the overall architecture design and a gallery of visualizations created with this package. Also check out autoplotly package that could automatically generate interactive visualizations with plotly.js style based on ggfortify. The generated visualizations can also be easily extended using ggplot2 syntax while staying interactive.

Installation

  • Install the latest stable release from CRAN: install.packages('ggfortify')

  • Install the development version from Github: if (!require("remotes")) install.packages("remotes") remotes::install_github('sinhrks/ggfortify')

Examples

Reference/Citation

To cite ggfortify in publications, please use (available via citation("ggfortify")): ``` Yuan Tang, Masaaki Horikoshi, and Wenxuan Li (2016). ggfortify: Unified Interface to Visualize Statistical Result of Popular R Packages. The R Journal, 8.2, 478-489.

Masaaki Horikoshi and Yuan Tang (2016). ggfortify: Data Visualization Tools for Statistical Analysis Results. https://CRAN.R-project.org/package=ggfortify ```

Coverage

This covers following classes:

  • base::matrix
  • base::table (supports fortify only)
  • cluster::clara
  • cluster::fanny
  • cluster::pam
  • cluster::silhouette
  • changepoint::cpt
  • fGarch::fGARCH
  • forecast::bats
  • forecast::forecast
  • forecast::ets
  • forecast::nnetar
  • fracdiff::fracdiff
  • glmnet::cv.glmnet
  • glmnet::glmnet
  • KFAS::KFS
  • KFAS::signal (inference)
  • lfda::lfda
  • lfda::klfda
  • lfda::self
  • maps::map
  • MASS::isoMDS (inference)
  • MASS::sammon (inference)
  • raster::RasterBrick
  • raster::RasterCommon
  • raster::RasterLayer
  • raster::RasterStack
  • ROCR::performance
  • sp::Line
  • sp::Lines
  • sp::Polygon
  • sp::Polygons
  • sp::SpatialLines
  • sp::SpatialLinesDataFrame
  • sp::SpatialPoints
  • sp::SpatialPointsDataFrame
  • sp::SpatialPolygons
  • sp::SpatialPolygonsDataFrame
  • splines::basis
  • stats::acf
  • stats::ar
  • stats::Arima
  • stats::cmdscale (inference)
  • stats::decomposed.ts
  • stats::density
  • stats::factanal
  • stats::glm
  • stats::HoltWinters
  • stats::kmeans
  • stats::lm
  • stats::prcomp
  • stats::princomp
  • stats::spec
  • stats::stepfun
  • stats::stl
  • stats::ts
  • survival::survfit
  • survival::survfit.cox
  • survival::survfitms
  • strucchange::breakpoints
  • strucchange::breakpointsfull
  • timeSeries::timeSeries
  • tseries::irts
  • vars::varprd
  • xts::xts
  • zoo::zooreg

Helper Functions

  • ggdistribution to plot PDF/CDF
  • ggcpgram to plot cpgram
  • ggtsdiag to plot tsdiag
  • ggfreqplot to generalize monthplot

Owner

  • Name: Sinhrks
  • Login: sinhrks
  • Kind: user
  • Location: Tokyo, Japan

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 3
  • Watch event: 6
  • Issue comment event: 13
  • Push event: 4
  • Pull request review event: 1
  • Fork event: 2
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 3
  • Watch event: 6
  • Issue comment event: 13
  • Push event: 4
  • Pull request review event: 1
  • Fork event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 337
  • Total Committers: 26
  • Avg Commits per committer: 12.962
  • Development Distribution Score (DDS): 0.596
Past Year
  • Commits: 17
  • Committers: 2
  • Avg Commits per committer: 8.5
  • Development Distribution Score (DDS): 0.059
Top Committers
Name Email Commits
terrytangyuan t****n@g****m 136
sinhrks s****s@g****m 133
Yuan (Terry) Tang t****n@u****m 38
Luciano Selzer l****r@g****m 5
Damir Pulatov 3****t@u****m 2
Kirill Voronin y****y@g****m 2
yutannihilation y****i@g****m 2
austin3dickey a****y@u****m 1
Terry Tang t****g@u****m 1
Derek Sonderegger d****r@g****m 1
Jonathon Love j****n@t****c 1
axjadamson 5****n@u****m 1
Matthias Grenié m****e@e****r 1
Michael Chirico m****4@g****m 1
Zexi Cai 3****I@u****m 1
Raúl Miñán 8****n@u****m 1
Richie Cotton r****s@g****m 1
DarioS d****c@s****u 1
tjebo 3****o@u****m 1
Tal Galili t****i@g****m 1
Ryan C. Thompson r****t@t****g 1
yuan.tang y****g@a****m 1
David Pratella 3****t@u****m 1
Pedro Aphalo p****o@h****i 1
KellenBrosnahan 7****n@u****m 1
Rob J Hyndman r****n@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 58
  • Total pull requests: 49
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 45
  • Total pull request authors: 22
  • Average comments per issue: 3.28
  • Average comments per pull request: 2.65
  • Merged pull requests: 43
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: 5 days
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • DarioS (9)
  • terrytangyuan (3)
  • sinhrks (2)
  • sciatro (2)
  • vadimus202 (2)
  • mllg (1)
  • ddiannae (1)
  • xuahe (1)
  • yoursdearboy (1)
  • xinbinhuang (1)
  • Archergy (1)
  • manjusst (1)
  • therimalaya (1)
  • mindstorm555 (1)
  • FelipeCarrillo (1)
Pull Request Authors
  • sinhrks (16)
  • lselzer (5)
  • terrytangyuan (5)
  • aleungplants (4)
  • yoursdearboy (3)
  • ThomasSoeiro (2)
  • damirpolat (2)
  • raulminan (1)
  • axjadamson (1)
  • MichaelChirico (1)
  • austin3dickey (1)
  • talgalili (1)
  • ZexiCAI (1)
  • richierocks (1)
  • jonathon-love (1)
Top Labels
Issue Labels
contributions welcome (15) bug (5) enhancement (2) doc (2)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 26,686 last-month
  • Total docker downloads: 49,049
  • Total dependent packages: 40
    (may contain duplicates)
  • Total dependent repositories: 118
    (may contain duplicates)
  • Total versions: 63
  • Total maintainers: 1
cran.r-project.org: ggfortify

Data Visualization Tools for Statistical Analysis Results

  • Versions: 24
  • Dependent Packages: 37
  • Dependent Repositories: 117
  • Downloads: 26,686 Last month
  • Docker Downloads: 49,049
Rankings
Stargazers count: 0.7%
Forks count: 1.1%
Dependent repos count: 2.0%
Dependent packages count: 2.3%
Downloads: 2.3%
Average: 4.8%
Docker downloads count: 20.2%
Maintainers (1)
Last synced: 10 months ago
proxy.golang.org: github.com/sinhrks/ggfortify
  • Versions: 26
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.0%
Average: 9.6%
Dependent repos count: 10.2%
Last synced: 10 months ago
conda-forge.org: r-ggfortify
  • Versions: 13
  • Dependent Packages: 3
  • Dependent Repositories: 1
Rankings
Dependent packages count: 15.6%
Stargazers count: 17.3%
Average: 20.0%
Forks count: 22.7%
Dependent repos count: 24.3%
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • ggplot2 >= 2.0.0 depends
  • methods * depends
  • dplyr >= 0.3 imports
  • grid * imports
  • gridExtra * imports
  • scales * imports
  • stringr * imports
  • tibble * imports
  • tidyr * imports
  • KFAS * suggests
  • MASS * suggests
  • MSwM * suggests
  • ROCR * suggests
  • changepoint * suggests
  • cluster * suggests
  • dlm * suggests
  • fGarch * suggests
  • forecast * suggests
  • ggrepel * suggests
  • glmnet * suggests
  • grDevices * suggests
  • knitr * suggests
  • lfda * suggests
  • lintr * suggests
  • mapdata * suggests
  • markdown * suggests
  • nlme * suggests
  • raster * suggests
  • sp * suggests
  • stats * suggests
  • strucchange * suggests
  • survival * suggests
  • testthat * suggests
  • timeSeries * suggests
  • tseries * suggests
  • utils * suggests
  • vars * suggests
  • xts * suggests
  • zoo * suggests