Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Created July 9, 2019 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harshit1694/70e88bb3daa681aa3e34d7413d75ca0a to your computer and use it in GitHub Desktop.
Save Harshit1694/70e88bb3daa681aa3e34d7413d75ca0a to your computer and use it in GitHub Desktop.
#Installing packages and calling out the libraries
install.packages("summarytools")
install.packages("tseries")
install.packages("forecast")
library(forecast)
library(ggplot2)
library(tseries)
library(summarytools)
#Reading the Airpaseengers data
data("AirPassengers")
tsdata<-AirPassengers
#Identifying the class of data
class(tsdata)
#Observations of the time series data
tsdata
#Summary of the data and missi
dfSummary(tsdata)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment