{"id":13858334,"url":"https://github.com/sinhrks/ggfortify","last_synced_at":"2025-10-21T20:54:50.783Z","repository":{"id":1030023,"uuid":"24807286","full_name":"sinhrks/ggfortify","owner":"sinhrks","description":"Define fortify and autoplot functions to allow ggplot2 to handle some popular R packages.","archived":false,"fork":false,"pushed_at":"2025-07-03T01:58:47.000Z","size":22208,"stargazers_count":529,"open_issues_count":21,"forks_count":67,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-07-03T02:34:25.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinhrks.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"terrytangyuan"}},"created_at":"2014-10-05T03:06:26.000Z","updated_at":"2025-07-03T01:58:50.000Z","dependencies_parsed_at":"2024-04-17T02:38:51.649Z","dependency_job_id":"c5354426-60d2-41a2-981d-dada016a6bfa","html_url":"https://github.com/sinhrks/ggfortify","commit_stats":{"total_commits":337,"total_committers":26,"mean_commits":"12.961538461538462","dds":0.5964391691394659,"last_synced_commit":"ed61727da3725d61a9f4a09abb5697ca455b86db"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/sinhrks/ggfortify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhrks%2Fggfortify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhrks%2Fggfortify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhrks%2Fggfortify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhrks%2Fggfortify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinhrks","download_url":"https://codeload.github.com/sinhrks/ggfortify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhrks%2Fggfortify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265220740,"owners_count":23729873,"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":[],"created_at":"2024-08-05T03:02:04.763Z","updated_at":"2025-10-21T20:54:50.687Z","avatar_url":"https://github.com/sinhrks.png","language":"R","funding_links":["https://github.com/sponsors/terrytangyuan","https://github.com/sponsors/terrytangyuan)!"],"categories":["Python","R","パッケージ紹介","Graphic Displays","Data and models"],"sub_categories":["General-Purpose Machine Learning","ggfortify"],"readme":"**Note**: This package has been maintained by [@terrytangyuan](https://github.com/terrytangyuan) since 2015. Please [consider sponsoring](https://github.com/sponsors/terrytangyuan)!\n\n[![cran](http://www.r-pkg.org/badges/version/ggfortify)](https://CRAN.R-project.org/package=ggfortify)\n[![download](https://cranlogs.r-pkg.org/badges/grand-total/ggfortify)](https://CRAN.R-project.org/package=ggfortify)\n\n# ggfortify\n\nThis package offers ``fortify`` and ``autoplot`` functions to allow automatic ``ggplot2`` to visualize statistical result of popular R packages. Check out our [R Journal paper](https://journal.r-project.org/archive/2016-2/tang-horikoshi-li.pdf) for more details on the overall architecture design and a gallery of visualizations created with this package. Also check out [autoplotly package](https://github.com/terrytangyuan/autoplotly) that could automatically generate interactive visualizations with [plotly.js](https://plot.ly/) style based on ``ggfortify``. The generated visualizations can also be easily extended using ``ggplot2`` syntax while staying interactive.\n\n\n## Installation\n\n- Install the latest stable release from CRAN:\n```\ninstall.packages('ggfortify')\n```\n\n- Install the development version from Github:\n```\nif (!require(\"remotes\")) install.packages(\"remotes\")\n  remotes::install_github('sinhrks/ggfortify')\n```\n\n## Examples\n\n* [Concepts and Basics of ggfortify](https://cran.r-project.org/web/packages/ggfortify/vignettes/basics.html)\n* [Plotting Diagnostics for LM and GLM with ggplot2 and ggfortify](https://cran.r-project.org/web/packages/ggfortify/vignettes/plot_lm.html)\n* [Plotting Time Series with ggplot2 and ggfortify](https://cran.r-project.org/web/packages/ggfortify/vignettes/plot_ts.html)\n* [Plotting PCA, clustering, LFDA and MDS](https://cran.r-project.org/web/packages/ggfortify/vignettes/plot_pca.html)\n* [Plotting Survival Curves using ggplot2 and ggfortify](https://cran.r-project.org/web/packages/ggfortify/vignettes/plot_surv.html)\n* [Plotting Probability Distributions with ggplot2 and ggfortify](https://cran.r-project.org/web/packages/ggfortify/vignettes/plot_dist.html)\n* [Automatic Generation of Interactive Visualizations in ggplot2 and plotly Styles](https://terrytangyuan.github.io/2018/02/12/autoplotly-intro/)\n* [一行R代码实现繁琐的可视化](http://terrytangyuan.github.io/2015/11/24/ggfortify-intro/)\n\n## Reference/Citation\n\nTo cite ggfortify in publications, please use (available via ``citation(\"ggfortify\")``):\n```\n  Yuan Tang, Masaaki Horikoshi, and Wenxuan Li (2016). ggfortify: Unified Interface to Visualize\n  Statistical Result of Popular R Packages. The R Journal, 8.2, 478-489.\n\n  Masaaki Horikoshi and Yuan Tang (2016). ggfortify: Data Visualization Tools for Statistical\n  Analysis Results. https://CRAN.R-project.org/package=ggfortify\n```\n\n## Coverage\n\nThis covers following classes:\n\n- ``base::matrix``\n- ``base::table`` (supports ``fortify`` only)\n- ``cluster::clara``\n- ``cluster::fanny``\n- ``cluster::pam``\n- ``cluster::silhouette``\n- ``changepoint::cpt``\n- ``fGarch::fGARCH``\n- ``forecast::bats``\n- ``forecast::forecast``\n- ``forecast::ets``\n- ``forecast::nnetar``\n- ``fracdiff::fracdiff``\n- ``glmnet::cv.glmnet``\n- ``glmnet::glmnet``\n- ``KFAS::KFS``\n- ``KFAS::signal`` (inference)\n- ``lfda::lfda``\n- ``lfda::klfda``\n- ``lfda::self``\n- ``maps::map``\n- ``MASS::isoMDS`` (inference)\n- ``MASS::sammon`` (inference)\n- ``raster::RasterBrick``\n- ``raster::RasterCommon``\n- ``raster::RasterLayer``\n- ``raster::RasterStack``\n- ``ROCR::performance``\n- ``sp::Line``\n- ``sp::Lines``\n- ``sp::Polygon``\n- ``sp::Polygons``\n- ``sp::SpatialLines``\n- ``sp::SpatialLinesDataFrame``\n- ``sp::SpatialPoints``\n- ``sp::SpatialPointsDataFrame``\n- ``sp::SpatialPolygons``\n- ``sp::SpatialPolygonsDataFrame``\n- ``splines::basis``\n- ``stats::acf``\n- ``stats::ar``\n- ``stats::Arima``\n- ``stats::cmdscale`` (inference)\n- ``stats::decomposed.ts``\n- ``stats::density``\n- ``stats::factanal``\n- ``stats::glm``\n- ``stats::HoltWinters``\n- ``stats::kmeans``\n- ``stats::lm``\n- ``stats::prcomp``\n- ``stats::princomp``\n- ``stats::spec``\n- ``stats::stepfun``\n- ``stats::stl``\n- ``stats::ts``\n- ``survival::survfit``\n- ``survival::survfit.cox``\n- ``survival::survfitms``\n- ``strucchange::breakpoints``\n- ``strucchange::breakpointsfull``\n- ``timeSeries::timeSeries``\n- ``tseries::irts``\n- ``vars::varprd``\n- ``xts::xts``\n- ``zoo::zooreg``\n\n## Helper Functions\n\n- ``ggdistribution`` to plot PDF/CDF\n- ``ggcpgram`` to plot ``cpgram``\n- ``ggtsdiag`` to plot ``tsdiag``\n- ``ggfreqplot`` to generalize ``monthplot``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinhrks%2Fggfortify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinhrks%2Fggfortify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinhrks%2Fggfortify/lists"}