Displaying 20 results from an estimated 800 matches similar to: "if between 500-600 give 550"
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",
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 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 Oct 26
0
mean of a value of the last 2 hours using plyr (Thank you)
Hi dear three helpers,
Thanks a lot! Your solutions worked great. Again I learned a lot.
Tagmarie
Am 25.10.2012 18:36, schrieb Felipe Carrillo:
> Another option using plyr,
> library(plyr)
> myframe <- data.frame (ID=c("Ernie", "Ernie", "Ernie", "Bert", "Bert",
> "Bert"), Timestamp=c("24.09.2012 09:00",
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"),
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
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",
2008 Sep 14
3
Please help me in Converting this from C# to R
Random r = new Random();
DirectedGraph<SimpleNode> graph = GetGraph();
decimal B = 0.1m;
decimal D = 0.05m;
int nodes = graph.NodesCount;
decimal[] E = new decimal[nodes];
decimal[] P = new decimal[nodes];
for (int i = 7; i <= 10; ++i)
P[i] =
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
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 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''
2005 Feb 18
14
autotoolizing xen?
Hi there!
I was wondering what the general opinion on autotoolizing xen is? I am
volunteering to do so, if there is interest in updating the build system to
use autoconf, automake and/or libtool.
Is one configure script for all of xen enough or do you want to be able to
configure all/some tools separately? I know that Anthony is no fan of
libtool... are there more reservations about some
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
2012 Sep 17
6
count NAs per week
Even though I work with R since a year or so I still struggle with simple
problems. I hope someone can help me with this. Been trying for days and am
a little frustrated now.
I have a data frame somewhat like the one bellow:
dattrial<-data.frame(a=c(1,NA,rnorm(4,10)), Week=c(3,3,3,4,4,4))
I want to know how many NAs I have in week 3 and in week 4.
--
View this message in context:
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
2009 Jun 30
2
Using functions to change values in a data.frame
I'm having trouble with something that looks easy. (And I'm sure it
will be easier within about 1 minute of receiving my first response.)
Thanks in advance.
I have a collection of data frames that I need to add columns, do some
calculations and then fill in the new columns. Since I have a large
number of similar data frames I want to do this with functions to make
the code more readable
2009 Jul 01
2
?max (so far...)
Hi,
I have a data.frame that is date ordered by row number - earliest
date first and most current last. I want to create a couple of new
columns that show the max and min values from other columns *so far* -
not for the whole data.frame.
It seems this sort of question is really coming from my lack of
understanding about how R intends me to limit myself to portions of a
data.frame. I get the
2009 Jul 01
1
running count in data.frame
Hi,
I need to keep a running count of events that have happened in my
data.frame. I found a document called usingR that had an example of
doing this for random coin flips and I tried to modify it. It seems to
sort of work in the beginning, but then it stops and I don't
understand why. I'm trying to duplicate essentially the Excel
capability of =SUM($A$1:$A(Row number))
The example
2011 Mar 30
2
summing values by week - based on daily dates - but with some dates missing
Dear everybody,
I have the following challenge. I have a data set with 2 subgroups,
dates (days), and corresponding values (see example code below).
Within each subgroup: I need to aggregate (sum) the values by week -
for weeks that start on a Monday (for example, 2008-12-29 was a
Monday).
I find it difficult because I have missing dates in my data - so that
sometimes I don't even have the