Here is an example:
ts.plot(ts(1:10, start = 2000), ts(2:8, start = 2005))
On 10/2/07, amna khan <[EMAIL PROTECTED]> wrote:
> Sir the data used in function ts.plot() is of the form
>
>
> Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
> 1974 2134 1863 1877 1877 1492 1249 1280 113
Sir the data used in function ts.plot() is of the form
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
1974 2134 1863 1877 1877 1492 1249 1280 1131 1209 1492 1621
1975 2103 2137 2153 1833 1403 1288 1186 1133 1053 1347 1545
1976 2020 2750 2283 1479 1189 1160 1113 970 999 1208 146
See ?ts.plot
Also ?plot.zoo and ?xyplot.zoo in the zoo package.
On 10/1/07, amna khan <[EMAIL PROTECTED]> wrote:
> Dear Sir
>
> I want to plot the two time series having unequal number of observations,
> say, one series having values from year 1960 to year 2000 and other having
> values from year
Dear Sir
I want to plot the two time series having unequal number of observations,
say, one series having values from year 1960 to year 2000 and other having
values from year 1975 to year 2000. How to plot them on a single graph
sheet.
Regards
--
AMINA SHAHZADI
Department of Statistics
GC Univ
4 matches
Mail list logo