Skip to content
Back to formatted view

Raw Message

Message-ID: <x2pt2wf49g.fsf@biostat.ku.dk>
Date: 2004-11-02T19:19:07Z
From: Peter Dalgaard
Subject: plot time series / dates (basic)
In-Reply-To: <20041102165847.6341.qmail@web50308.mail.yahoo.com>

bogdan romocea <br44114 at yahoo.com> writes:

> 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...

Why not just fix the syntax error? Can't take that long to spot that
there are more ")" than "(" in that line, so presumably what was meant
was

  dat <- date[((j-1)*points+1):(j*points)]

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907