powered by
read.ts(file, header = FALSE, sep = "", skip = 0, ...)
ts
start
data(sunspots) st <- start(sunspots) fr <- frequency(sunspots) write(sunspots, "sunspots", ncolumns=1) x <- read.ts("sunspots", start=st, frequency=fr) plot(x) unlink("sunspots")
Run the code above in your browser using DataLab