Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread ivan popivanov
union now you only need to remove the columns that you don't need from C:). Hope this helps, Ivan > Date: Sun, 13 Dec 2009 15:30:35 -0800 > From: shef...@googlemail.com > To: r-help@r-project.org > Subject: Re: [R] Need help to complete missing value (Date and Time) in Sp500

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Hamid
> > Regards, > > Ivan > >> Date: Sun, 13 Dec 2009 13:08:25 -0800 >> From: shef...@googlemail.com >> To: r-help@r-project.org >> Subject: Re: [R] Need help to complete missing value (Date and Time) in >> Sp500 Data &

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread ivan popivanov
12-05"]) != 0) --- this will be true if the time series gspc has the date. Regards, Ivan > Date: Sun, 13 Dec 2009 13:08:25 -0800 > From: shef...@googlemail.com > To: r-help@r-project.org > Subject: Re: [R] Need help to complete missing value (Date and Time) in Sp500 > Da

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Hamid
Hi uwe, here the example: 1) Dataset sp500 has values at 01.05.2008: 30.04.2008 21:56;1.385,63;1.385,63;1.385,14;1.385,14;0 30.04.2008 21:57;1.385,67;1.385,67;1.384,48;1.384,48;0 30.04.2008 21:58;1.384,74;1.384,91;1.384,27;1.384,91;0 30.04.2008 21:59;1.385,05;1.385,81;1.385,05;1.385,08;0 01.05.20

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Uwe Ligges
Hamid wrote: Hi Uwe, yes you are right, but I just wanted to show the date format I use. The whole data is very huge (about 2 rows). Nevertheless I like first to find the missing dates/Times. Then put 0. I know they are some different approach to impute missing data, but for me is importa

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Hamid
Hi Uwe, yes you are right, but I just wanted to show the date format I use. The whole data is very huge (about 2 rows). Nevertheless I like first to find the missing dates/Times. Then put 0. I know they are some different approach to impute missing data, but for me is important to find a way

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Uwe Ligges
Hamid wrote: Dear all, here my problem my be somone can help to solve this. I have tow timeseries from different stock market with different length (diff ca. 4000 ) Now I would to add the missing times of the one of this series with proper time (they are minute data) and set the value to 0 sin

[R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-12 Thread Hamid
Dear all, here my problem my be somone can help to solve this. I have tow timeseries from different stock market with different length (diff ca. 4000 ) Now I would to add the missing times of the one of this series with proper time (they are minute data) and set the value to 0 since I need to hav