On Wed, Sep 29, 2010 at 7:52 AM, Struve, Juliane
j.str...@imperial.ac.uk wrote:
I will post the example again to see if its readable now. My question is why
does read.zoo(file=filenames,) work and lapply(filenames, read.zoo,...)
does not ? Since I am reading the same file in both
))
From: Gabor Grothendieck [ggrothendi...@gmail.com]
Sent: 29 September 2010 00:09
To: Struve, Juliane
Cc: r-help@r-project.org
Subject: Re: [R] plotting multiple animal tracks against Date/Time
On Tue, Sep 28, 2010 at 9:30 AM, Struve, Juliane
j.str...@imperial.ac.uk
, Juliane
Cc: r-help@r-project.org
Subject: Re: [R] plotting multiple animal tracks against Date/Time
On Tue, Sep 28, 2010 at 9:30 AM, Struve, Juliane
j.str...@imperial.ac.uk wrote:
Hi,
in this self-contained example the file the same error message appears as
when I read in my original
.
Juliane
Sorry for posting twice, libraries were missing earlier.
From: Gabor Grothendieck [ggrothendi...@gmail.com]
Sent: 27 September 2010 23:32
To: Struve, Juliane
Cc: r-help@r-project.org
Subject: Re: [R] plotting multiple animal tracks against Date/Time
On Tue, Sep 28, 2010 at 9:30 AM, Struve, Juliane
j.str...@imperial.ac.uk wrote:
Hi,
in this self-contained example the file the same error message appears as
when I read in my original results files.
library (zoo)
library(chron)
#generate example data
Fish_ID=1646
Date - 01/01/2004
On Mon, Sep 27, 2010 at 10:01 AM, Struve, Juliane
j.str...@imperial.ac.uk wrote:
Hi,
I am sorry that my question wasn not very clearly formulated. My real data
comes in 47 .csv files, one for each of 47 individual, for example:
,Fish_ID,Date,R2sqrt
1,1646,2006-08-18 08:48:59,0
}
z - na.approx(cbind(???), na.rm = FALSE)
plot(z)
From: Gabor Grothendieck [ggrothendi...@gmail.com]
Sent: 24 September 2010 22:08
To: Struve, Juliane
Cc: r-help@r-project.org
Subject: Re: [R] plotting multiple animal tracks against Date/Time
On Fri, Sep 24, 2010 at 4:16 PM, Struve
On Mon, Sep 27, 2010 at 5:38 PM, Struve, Juliane
j.str...@imperial.ac.uk wrote:
Hello,
thank you very much for replying. The code yields an error message
Error in strptime(x, format, tz = tz) : invalid 'x' argument
But I can't see what's wrong with it, the Date/Time info is in the third
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, Juliane
j.str...@imperial.ac.uk wrote
://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, Juliane
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
j.str...@imperial.ac.uk wrote:
Dear list,
I would like to create a time series plot in which the paths of several
On Fri, Sep 24, 2010 at 4:16 PM, Struve, Juliane j.str...@imperial.ac.ukwrote:
Hi again,
when applying the code to my real data I need to deal with a large number
of individuals and massive data sets. I am using the code below to read in
the data for different individuals, and would like to
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
j.str...@imperial.ac.ukmailto:j.str...@imperial.ac.uk wrote:
Hello,
thank you very much for replying. I have tried this, but I get
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
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 (
By range on the y-axis, do you mean distance? It would have to be if time is
on your x? Or am I misreading this?
You could just plot() with the data for your first individual, and then add
additional individuals after that using lines(), specifying a different
colour and/or line type for each
On Thu, Sep 23, 2010 at 9:50 AM, Struve, Juliane
j.str...@imperial.ac.uk wrote:
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
Include individual as a factor in your dataset, and use ggplot2:
library(ggplot2)
ggplot(aes(x=Date, y=Distance, color=Individual), data=data) + geom_line()
ought to do it.
Jonathan
On Thu, Sep 23, 2010 at 9:31 AM, Struve, Juliane j.str...@imperial.ac.ukwrote:
Sorry for posting this
On Thu, Sep 23, 2010 at 5:53 PM, Struve, Juliane j.str...@imperial.ac.ukwrote:
Hello,
thank you very much for replying. I have tried this, but I get error
message
Error in .subset(x, j) : invalid subscript type 'list' after
z1 - read.zoo(textConnection(Lines1), skip = 1, index = list(1,
19 matches
Mail list logo