hujinfei
2010-Jun-18 07:35 UTC
[R] how to construct a TSdata with multivariate time serials
Dear all,
Right now, I met with a question.
Our datum is multivariate time series datum. The factors are combinations of
four variables such as ( age, type, x_ coordinate and y_ coordinate).
For each day, there are different combinations of factors, so corresponding
to the factor combinations, there are many counts for each day.
Counts age type x_coordinate y_coordinate
1999 Jan. 1 89 26 12 3
4
1999 Jan. 1 46 24 11 5
12
1999 Jan. 1 34 53 12 31
43
1999 Jan. 1 35 26 10 24
15
1999 Jan. 2 13 45 34 77
34
1999 Jan. 2 34 67 65 31
23
1999 Jan. 2 14 12 54 78 98
.
1999 Dec. 31 2 87 13 68 45
How to construct a TSdata with these datum, so that we can make a model with
the function in package "dse" ? Thanks.
Any hint appreciated,
kind regards,
Jinfei
[[alternative HTML version deleted]]