Learn R Programming

⚠️There's a newer version (0.4.17) of this package.Take me there.

ggfortify (version 0.4.15)

Data Visualization Tools for Statistical Analysis Results

Description

Unified plotting tools for statistics commonly used, such as GLM, time series, PCA families, clustering and survival analysis. The package offers a single plotting interface for these analysis results and plots in a unified style using 'ggplot2'.

Copy Link

Version

Install

install.packages('ggfortify')

Monthly Downloads

35,109

Version

0.4.15

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yuan Tang

Last Published

November 11th, 2022

Functions in ggfortify (0.4.15)

autoplot.density

Autoplot stats::density
autoplot.list

Autoplot list
autoplot.glmnet

Autoplot glmnet::glmnet
autoplot.lm

Autoplot stats::lm and stats::glm
autoplot.ggmultiplot

Autoplot ggmultiplot instances. It returns the passed instance as it is.
autoplot.forecast

Autoplot forecast::forecast
autoplot.ggplot

Autoplot ggplot instances. It returns the passed instance as it is.
autoplot.kmeans

Autoplot cluster instances
autoplot.cpt

Autoplot changepoint::cpt
autoplot.cv.glmnet

Autoplot glmnet::cv.glmnet
autoplot.matrix

Plot base::matrix
autoplot.map

Autoplot maps::map
autoplot.ts

Autoplot time-series-like
autoplot.stepfun

Plot stats::stepfun
autoplot.tsmodel

Autoplot time series models (like AR, ARIMA)
autoplot.spec

Autoplot stats::spec
autoplot.pca_common

Autoplot PCA-likes
autoplot.survfit

Autoplot survival::survfit
autoplot.silhouette

Autoplot silhouette instances
autoplot.performance

Autoplot ROCR::performance
autoplot.varprd

Autoplot vars::varprd
fortify.RasterCommon

Convert raster to data.frame
flatten

Flatten dataframe contains matrix
cbind_wraps

Wrapper for cbind
fortify.SpatialCommon

Convert sp instances to data.frame.
fitted.ar

Calculate fitted values for stats::ar
fortify.basis

Convert spline basis instances to data.frame
deprecate.warning

Show deprecate warning
fortify.cpt

Convert changepoint::cpt and strucchange::breakpoints to data.frame
fortify.dist

Convert stats::dist to data.frame
check_names

Check data names are equal with expected
fortify.density

Convert stats::density to data.frame
confint.acf

Calculate confidence interval for stats::acf
fortify.cv.glmnet

Convert glmnet::cv.glmnet to data.frame
fortify.silhouette

Convert cluster::silhouette to data.frame
fortify.prcomp

Convert stats::prcomp, stats::princomp to data.frame
fortify.matrix

Convert base::matrix to data.frame
fortify.acf

Convert stats::acf to data.frame
fortify.ets

Convert forecast::bats and forecast::ets to data.frame
get.dtindex

Convert ts index to Date vector
fortify.spec

Convert stats::spec to data.frame
fortify.MSM.lm

Convert MSwM::MSM.lm to data.frame
geom_factory

Factory function to control ggplot2::geom_xxx functions
fortify.aareg

Convert survival::aareg to data.frame
fortify.stepfun

Convert stats::stepfun to data.frame
fortify.performance

Convert ROCR::performance objects to data.frame
fortify.factanal

Convert stats::factanal to data.frame
fortify.kmeans

Convert cluster instances to data.frame
fortify.glmnet

Convert glmnet::glmnet to data.frame
fortify.ts

Convert time-series-like to data.frame
fortify.tsmodel

Convert time series models (like AR, ARIMA) to data.frame
fortify.forecast

Convert forecast::forecast to data.frame
ggfortify

ggfortify
ggfreqplot

Plot seasonal subseries of time series, generalization of stats::monthplot
ggcpgram

Plots a cumulative periodogram
get_geom_function

Factory function to control ggplot2::geom_xxx functions
geom_confint

Connect observations by stairs.
fortify_map

Convert maps::map to data.frame.
fortify.lfda

Convert lfda::lfda or lfda::klfda or lfda::self to data.frame
is.univariate

Check if Validates number of ts variates
is_derived_from

Check object is target class, or object is data.frame fortified from target.
show,ggmultiplot-method

Generic show function for ggmultiplot
plot_label

Attach label to ggplot2::ggplot
ggdistribution

Plot distribution
plot_confint

Attach confidence interval to ggplot2::ggplot
+,ggmultiplot,ANY-method

Generic add operator for ggmultiplot
rbind_ts

Rbind original and predicted time-series-like instances as fortified data.frame
fortify.table

Convert base::table to data.frame
fortify.list

Convert list to data.frame
fortify.varprd

Convert vars::varprd to data.frame
post_fortify

Post process for fortify.
get.layout

Calcurate layout matrix for ggmultiplot
fortify.survfit

Convert survival::survfit to data.frame
ggbiplot

Draw biplot using ggplot2.
post_autoplot

Post process for fortify. Based on ggplot2::qplot
residuals.ar

Calculate residuals for stats::ar
ggtsdiag

Plots time-series diagnostics
support_autoplot

Check if passed object is supported by ggplot2::autoplot
unscale

Backtransform scale-ed object
fortify_base

Convert base::table to data.frame
get.dtindex.continuous

Get Date vector continue to ts index
print,ggmultiplot-method

Generic print function for ggmultiplot
ggmultiplot-class

An S4 class to hold multiple ggplot2::ggplot instances
infer

Infer class name
grid.draw.ggmultiplot

The implemented grid.draw method for ggmultiplot, in order to work with ggsave() properly
autoplot.SpatialCommon

Autoplot maps::map
autoplot.breakpoints

Autoplot strucchange::breakpoints
apply_grid

Apply grid to to ggplot2::ggplot
apply_facets

Apply facets to to ggplot2::ggplot
autoplot.aareg

Autoplot survival::aareg
autoplot.RasterCommon

Autoplot raster::raster
autoplot.acf

Autoplot stats::acf. Note to pass `plot = FALSE` to original function to suppress standard plot output
autoplot.MSM.lm

Autoplot MSwM::MSM.lm
as_tibble.basis

Convert a spline basis to a tibble
autoplot.basis

Autoplot spline basis instances