Hello All, I am trying to do the time series analysis in R and I want to assign a vector as a time series. The data I provided is hourly. The data is from Jan 1 2008 to Dec 31 2009. How can I assign the data such that the first year is leap year and second is not ?
airtemp <- read.csv("airtemp.csv",header=T,sep="") aw <- ts(airtemp,start=2008,frequency=8784,end=2009) I assigned frequency as 8784 because 2008 year will have 8784 hourly data points and 2009 has 8760 data points. The total data points are 17544 The data can be found on https://www.dropbox.com/s/03z74632v1f3g1e/airtemp.csv I apologize if this is very trivial to some of you. Thanks. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.