Thank you for the suggestions. I managed to fix everything except the
first part.
dat - date[(j-1)*points+1):(j*points)]
causes a syntax error. If I do
dat - vector()
I end up with numbers (which is fine by me - just like SAS dates).
However, after checking a couple of sources I
Thank you for the suggestions. I managed to fix everything except the
: first part.
: dat - date[(j-1)*points+1):(j*points)]
: causes a syntax error. If I do
You have unbalanced parentheses.
: dat - vector()
: I end up with numbers (which is fine by me - just like SAS dates).
:
Dear R users,
I'm having a hard time with some very simple things. I have a time
series where the dates are in the format 7-Oct-04. I imported the
file with read.csv so the date column is a factor. The series is
rather long and I want to plot it piece by piece. The function below
works fine,
On Mon, 1 Nov 2004, bogdan romocea wrote:
Dear R users,
I'm having a hard time with some very simple things. I have a time
series where the dates are in the format 7-Oct-04.
So why use as.POSIXct for a date, rather than as.Date?
I imported the
file with read.csv so the date column is a