Question: how to install ggfortify in r?
Answer: Installation. ggfortify can be installed from GitHub or CRAN: # Github if(!require(devtools)) install.packages("devtools") devtools::install_github("sinhrks/ggfortify") # CRAN install.packages("ggfortify") Loading ggfortify. library("ggfortify") Plotting matrix. ...  Plotting diagnostics for LM and GLM. ...  Plotting time series.