[R] plotting multiple animal tracks against Date/Time

2010-09-23 Thread Struve, Juliane
Dear list, I would like to create a time series plot in which the paths of several individuals are stacked above each other, with the x-axis being the total observation period of three years ( 1.1.2004 to 31.12.2007) and the y-axis being some defined range[min,max]. My data consist of Date/

[R] Plotting multiple animal tracks against Date/Time

2010-09-23 Thread Struve, Juliane
Sorry for posting this questions twice, but my previous question was accidentally sent unfinished. Dear list, I would like to create a time series plot in which the paths of several individuals are stacked above each other, with the x-axis being the total observation period of three years ( 1

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-24 Thread Struve, Juliane
ttp://www.aquaticresources.org/> From: Gabor Grothendieck [ggrothendi...@gmail.com] Sent: 23 September 2010 23:06 To: Struve, Juliane Cc: r-help@r-project.org Subject: Re: [R] plotting multiple animal tracks against Date/Time On Thu, Sep 23, 2010 at 5:53 PM, Struve, J

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-24 Thread Struve, Juliane
...@gmail.com] Sent: 23 September 2010 18:26 To: Struve, Juliane Cc: r-help@r-project.org Subject: Re: [R] plotting multiple animal tracks against Date/Time On Thu, Sep 23, 2010 at 9:50 AM, Struve, Juliane wrote: > Dear list, > > I would like to create a time series plot in which the pat

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-24 Thread Struve, Juliane
_ From: Gabor Grothendieck [ggrothendi...@gmail.com] Sent: 23 September 2010 23:06 To: Struve, Juliane Cc: r-help@r-project.org Subject: Re: [R] plotting multiple animal tracks against Date/Time On Thu, Sep 23, 2010 at 5:53 PM, Struve, Juliane mailto:j.str...@imperial.ac.uk>> wrot

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-27 Thread Struve, Juliane
ste("Results",Fish_ID,sep="_"),index.column=3,header=TRUE,FUN=as.chron,sep=",") #reads in data for each in Fish_ID } z <- na.approx(cbind(???), na.rm = FALSE) plot(z) From: Gabor Grothendieck [ggrothendi...@gmail.com] Sent: 24 September 2010 22:08 To: Struve,

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-27 Thread Struve, Juliane
ttp://www.aquaticresources.org From: Gabor Grothendieck [ggrothendi...@gmail.com] Sent: 27 September 2010 15:23 To: Struve, Juliane Cc: r-help@r-project.org Subject: Re: [R] plotting multiple animal tracks against Date/Time On Mon, Sep 27, 2010 at 10:01 AM, Struve, Julian

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-28 Thread Struve, Juliane
ot;, "character", "numeric"))# error "Error in strptime(x, format, tz = tz) : invalid 'x' argument" Am I missing something ? Thank you for your time and patience. Juliane Sorry for posting twice, libraries were missing earlier. _

Re: [R] plotting multiple animal tracks against Date/Time

2010-09-29 Thread Struve, Juliane
quot;numeric")) lapply(filenames, read.zoo, header = TRUE, FUN = as.chron, sep = ",", colClasses = c("NULL", "NULL", "character", "numeric")) From: Gabor Grothendieck [ggrothendi...@gmail.com] Sent: 29 S

[R] Semi-random movement inside a circle

2008-12-15 Thread Struve, Juliane
Dear list, I am trying to program semi-random movement within a circle, with no particles leaving the circle. I would like them to bounce back when they come to close to the wall, but I don't seem to be able to get this right. Would somebody kindly give me a hint ? This is my code so far, the