I am somewhat new to R, but I have been studying Time Series Analysis. In the link below I was reading about all the codes for Time Series in R and it was relatively straight forward- except for the first step. It tells me to upload the data, I imported my excel file into R but when I enter the code - data("Table2)" it does not work.
I am referring to Step 1 in the link. Link to the codes for Time series
Did you try this? You need to install packege for reading excel.
install.packeges("readxl")
library(readxl)
data<- read_excel("mydata.xlsx")
View(data)
You can also try:
Require("readxl")
you can also read about importing data and packages here: Packages for reading data in R
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.