similar to: mean of a value of the last 2 hours using plyr (Thank you)

Displaying 20 results from an estimated 600 matches similar to: "mean of a value of the last 2 hours using plyr (Thank you)"

2012 Oct 25
2
mean of a value of the last 2 hours
Hello, I have a data frame somewhat like that: myframe <- data.frame (ID=c("Ernie", "Ernie", "Ernie", "Bert", "Bert", "Bert"), Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 11:00"), Hunger=c(1,1,1,2,2,1) ) myframestime <- as.POSIXct (strptime(as.character(myframe$Timestamp),
2012 Dec 07
0
apply a function at: dateX, dateX+1, dateX+2, ....
Dear knowing people, Dennis Murphy helped me a lot with my first loop last week. Thanks again - I could have made more than 10 "Thank-You cakes" in the time it saved me! But now I want to complicate the thing. My ideas didn't work. Let's see if anyone is smarter ;-) The following packages are needed: library(adehabitatHR) library(rgdal) library(plyr) # My dataframe looks
2012 Nov 27
5
loop with date
Hello, I tried to construct my very first loop today and completly failed :-( Maybe someone can help me? I have a dataframe somewhat like this one: myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 11:00", "25.09.2012 09:00", "25.09.2012 10:00", "25.09.2012
2012 Dec 17
2
calculate a "rolling mean" including standard deviation
Hello everyone, I have a data frame somewhat like this one: myframe <- data.frame (Timestamp=c( "24.09.2012 06:00", "24.09.2012 07:00", "24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 11:00", "24.09.2012 12:00",
2012 Sep 26
2
average environmental data if AnimalID and Time is duplicated
Hello, I tried for about three hours now to solve this problem but I can't figure it out. I am sure someone knows how do it. At least I hope so. I have a data frame somewhat like this: myframe <- data.frame (ID=c("Ernie", "Ernie", "Bert", "Bert"), Timestamp=c("24.09.2012 09:00", "24.09.2012 09:00", "24.09.2012 10:00",
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
Thank you for providing the example code... for the request of running it multiple times it would have helped if you could have confirmed that the example ran through without errors... there were a lot of mistakes in it. Look into using the reprex package to check your example next time. I don't do this kind of analysis... I really don't know what to expect from the functions. The
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
Dear all, I have a data similar to this: myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"), Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", "25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"),
2012 Nov 09
3
if between 500-600 give 550
I have a data frame somewhat like this: myframe <- data.frame (ID=c(2,3,4,5), Hunger =c(415,452,550,318 )) myframe Now I would like to add a column to the right which summarizes the values for Hunger somewhat to reduce the number of values: If the values for Hunger are between 300-400 I would like to insert the number 350, between 400-500 insert 450 between 500-600 insert 550 Does
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
[answers inline] On 18 August 2017 at 20:08, Dagmar <Ramgad82 at gmx.net> wrote: > > myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"), > Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", > "25.09.2012 10:00"),
2002 Sep 09
1
multiple "keys" in Trellis plots?
My xyplot has a number of panels, and I'd like a separate key for each rather than a single key for the entire set. However, I cannot find a way to pass multiple key definitions to xyplot's "key" argument. Allow me to throw out a simple example: require(methods) require(lattice) ## define sample data myFrame1 <- data.frame(a=1:100, b=rep(1:10,10), c=unlist(lapply(1:10, rep,
2009 Apr 09
2
better way of recoding factors in data frame?
Hi all, I apologize in advance for the length of this post, but I wanted to make sure I was clear. I am trying to merge two dataframes that share a number of rows (but some are unique to each data frame). Each row represents a subject in a study. The problem is that sex is coded differently in the two, including the way missing values are represented. Here is an example of the merged dataframe:
2008 Mar 28
1
sip.conf setvar option
Hi, does anybody know about the setvar option in asterisk's sip.conf. I am trying to define it for a peer that's used when making calls using the originate ami call, but it seems to not have any effect. Marcus -- Marcus Hunger - hunger at sipgate.de Telefon: +49 (0)211-63 55 55-61 Telefax: +49 (0)211-63 55 55-22 indigo networks GmbH - Gladbacher Str. 74 - 40219 D?sseldorf HRB
2015 Jan 06
0
FAO Statistical Yearbook consultant
Hi Amy, one key question: can this position work remotely? Thank you, Mark LoPresti From: "Heyman, Amy (ESS)" <Amy.Heyman at fao.org> To: "r-sig-jobs at r-project.org" <r-sig-jobs at r-project.org> Sent: Tuesday, January 6, 2015 10:49 AM Subject: [R-jobs] FAO Statistical Yearbook consultant FAO Statistical Yearbook consultant The Food and
2015 Jan 06
2
FAO Statistical Yearbook consultant
FAO Statistical Yearbook consultant The Food and Agriculture Organization (www.fao.org) is a United Nations agency that leads international efforts to reduce hunger in the world. This is achieved through three main goals: the eradication of hunger, food insecurity and malnutrition; the elimination of poverty and the driving forward of economic and social progress for all; and, the sustainable
2015 Jan 12
0
FAO Statistical Yearbook consultant
Dear Amy, Same question here: do you accept remote applicants? Best Regards, Samuel On Mon, Jan 12, 2015 at 8:43 AM, M?rti?? Liberts <martins.liberts at gmail.com> wrote: > Dear Amy, > > I have the same question as Mark. Is it possible to work from abroad - > remotely? > > > Best regards, > Martins > > > On 6 January 2015 at 19:32, Mark LoPresti
2015 Jan 12
2
FAO Statistical Yearbook consultant
Dear Amy, I have the same question as Mark. Is it possible to work from abroad - remotely? Best regards, Martins On 6 January 2015 at 19:32, Mark LoPresti <marklopresti at yahoo.com> wrote: > Hi Amy, > > one key question: can this position work remotely? > Thank you, > Mark LoPresti > From: "Heyman, Amy (ESS)" <Amy.Heyman at fao.org> > To:
2008 Jun 06
3
Existence of formal arguments.
I just discovered what seems to me to be a slight funny in respect of formal argument names. If I define a function foo <- function(a,b){ ... whatever ...} then ``inside'' foo() the exists() function will return TRUE from ``exists("a") whether an object named ``a'' exists or not. But get("a") will yield an error ``object "a" not found''
2009 Nov 23
1
xrcise not working
Hi. I''m back. Unfortunately I can''t get xrcise working. Here is the sample xrc file and the resulting error messages: =============== TestWxFb.xrc ========================================= <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
2018 May 13
0
Dataverse (reading files with .tab and .7z suffixes)
Ilio Fornasero writes: > Yet, I am at this point. > > > > > ## 01. Finding the dataverse server and making a search > Sys.setenv("DATAVERSE_SERVER" =3D "dataverse.harvard.edu") > dataverse_search(".Hunger") > > > ## 02. Loading the dataset (in this example, I have chosen the word ".Hunge= > r" to get > # one list and
2008 Jun 02
4
Beginning Questions
Dear all, I am new to rails and I am considering it for a project. What I would like to know (and I couldn''t straightforwardly find an answer to) is: - is it possible to develop commercial web applications in which you can pack a whole web app and send it to a client without disclosing the source? - is there any library of existing components already implemented? - which solutions are