Hi:
I have a matrix, named mat, of numeric values that are in days since
Jan 1, 1960.
I want to convert them Date class values so that I can do things like
seq( value , len=10, by=1 week)
where value is any of the matrix elements.
How do I do this?
Please reply to: [EMAIL PROTECTED]
You should be able to convert with:
myDate - as.Date(dates, origin='1960-1-1')
On Fri, Sep 26, 2008 at 12:53 PM, Philip James Smith
[EMAIL PROTECTED] wrote:
Hi:
I have a matrix, named mat, of numeric values that are in days since Jan
1, 1960.
I want to convert them Date class values so
2 matches
Mail list logo