6933 15135 2011-06-10 04:54:00 NA dry
6 6106933 15135 2011-06-10 04:59:00 NA dry
7 6106933 15135 2011-06-10 05:04:00 NA dry
8 6106933 15135 2011-06-10 05:09:00 NA dry
9 6106933 15135 2011-06-10 05:13:00 NA dry
10 6106933 15135 2011-06-10 05:18:00 NA dry
11 6106933 15135 2011-06-10 05:23:00
60 dry
6106933 15135 2011-06-10 05:41:24 6 wet
6106933 15135 2011-06-10 05:41:30 753 dry
6106933 15135 2011-06-10 05:54:0378 wet
6106933 15135 2011-06-10 05:55:2115 dry
6106933 15135 2011-06-10 05:55:3618 wet
head(GPS1, 16) and desired result (added column wd)
Ring jul
6933 15135 2011-06-10 05:53:00dry
Santi
>
> From: PIKAL Petr
>To: Santiago Guallar ; r-help
>Sent: Monday, July 8, 2013 11:34 AM
>Subject: RE: [R] spped up a function
>
>
>Hi
>
>It seems to me, that you basically want merge, but I can miss the po
nces@r-
> project.org] On Behalf Of Santiago Guallar
> Sent: Tuesday, July 02, 2013 7:47 PM
> To: r-help
> Subject: [R] spped up a function
>
> Hi,
>
> I have written a function to assign the values of a certain variable
> 'wd' from a dataset to another dataset. Both c
first thing to do when trying to speed up a function is to see where it is
spending its time. take a subset of the data and use Rprof to profile the
code. my guess is that a lot of time is taken up in the use of dataframes.
see if you can use matrices instead.
Sent from my iPad
On Jul 2, 20
On Jul 2, 2013, at 10:47 AM, Santiago Guallar wrote:
> Hi,
>
> I have written a function to assign the values of a certain variable 'wd'
> from a dataset to another dataset. Both contain data from the same time
> period but differ in the length of their time intervals: 'GPS' has regular
> 10-
Hi,
I have written a function to assign the values of a certain variable 'wd' from
a dataset to another dataset. Both contain data from the same time period but
differ in the length of their time intervals: 'GPS' has regular 10-minute
intervals whereas 'xact' has irregular intervals. I attached
7 matches
Mail list logo