Input a Time Series
This function inputs time series stored in ASCII in a format that
the first line in the file is a title, next few lines, beginning with a \#, are comments,
and the remaining lines contain the data. Here is an example:
Changes In Global Temperature, Annual, 1880-1985
#Surface air "temperature change" for the globe, 1880-1985.
#Degrees Celsius. "Temperature change" actually means temperature
#Surface Air Temperature", `Journal of Geophysical Research`, Vol. 92,
-.40 -.37 -.43 ....
...............
.27 .42 .02 .30 .09 .05
Readts(file = "", freq = 1, start = 1, VerboseQ=TRUE)
file |
location for input file |
freq |
tsp parameter, =1, annual, =12 monthly etc |
start |
tsp parameter |
VerboseQ |
normally prompt for arguments but set VerboseQ=FALSE to automate |
ts object with attribute 'title'
A.I. McLeod
#You will need to change save the data given above in a file #and change the directory as appropriate #z<-Readts(file="d:/datasets/mhsets/annual/globtp.1", start=1880, VerboseQ=FALSE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.