Skip to content
Prev 278222 / 398503 Next

Missing data?

Thank you for the suggestions.

The only problems I see with 'to.weekly' is converting from the OHLC format
and realizing that the date is the last day of the week rather than the
first day of the week. Very minor compared to doing the whole thing myself.

-----Original Message-----
From: R. Michael Weylandt <michael.weylandt at gmail.com>
[mailto:michael.weylandt at gmail.com] 
Sent: Tuesday, November 22, 2011 3:10 PM
To: Kevin Burton
Cc: <r-help at r-project.org>
Subject: Re: [R] Missing data?

Couldn't you use seq.Date() to set up the time index and then just fill as
appropriate?

Alternatively, to.weekly if you are starting with a daily series. 

Michael

On Nov 22, 2011, at 4:00 PM, "Kevin Burton" <rkevinburton at charter.net>
wrote:
series.
end date.