ts
出力の最初の列は何ですか? どうすれば削除できますか?
ts(matrix(c(NA,NA,NA,1:31,NA),byrow=T,5,7),frequency=7,
names=c("Sun"," Mon ","Tue", "Wen" ,"Thu"," Fri"," Sat"))->x
> x
Time Series:
Start = c(1, 1)
End = c(1, 5)
Frequency = 7
Sun Mon Tue Wen Thu Fri Sat
1.000000 NA NA NA 1 2 3 4
1.142857 5 6 7 8 9 10 11
1.285714 12 13 14 15 16 17 18
1.428571 19 20 21 22 23 24 25
1.571429 26 27 28 29 30 31 NA