14-01-09 0.00 0.00 0.00 0.00 0.00
> 10 2014-01-10 0.00 0.00 1.68 0.98 0.00
> 11 2014-01-11 0.43 0.00 1.98 1.46 0.00
> 12 2014-01-12 1.51 0.78 1.63 0.46 1.84
> 13 2014-01-13 0.26 0.34 0.34 0.97 1.13
>
> David C
>
> -----Original Message-
> From: Pooya Lalehzari
;, "X3",
"X4", "X5"), class = "data.frame", row.names = c(NA,
-13L))
-Original Message-
From: David L Carlson [mailto:dcarl...@tamu.edu]
Sent: Tuesday, October 07, 2014 5:03 PM
To: Pooya Lalehzari
Cc: R help
Subject: RE: [R] Conditional Data Manipulation
PM
To: Pooya Lalehzari
Cc: R help
Subject: RE: [R] Conditional Data Manipulation -Cumulative Product
More clear to read, but this is much easier to load into R. Then adding
StartSignals$Date <- as.Date(StartSignals$Date, "%m/%d/%Y") MainData$Date <-
as.Date(MainData$Date, "%
0.81, 1.84,
1.13)), .Names = c("Date", "X1", "X2", "X3", "X4", "X5"), class = "data.frame",
row.names = c(NA,
-13L))
> dput(StopSignals)
structure(list(Date = c("1/1/2014", "1/2/2014", "1/3/2014", "
mp;M University
College Station, TX 77840-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Pooya Lalehzari
Sent: Tuesday, October 7, 2014 11:55 AM
To: R help
Subject: [R] Conditional Data Manipulation -Cumulative Product
Hello,
I
I noticed the data samples did not come out legible in the original email. Here
is the original email with data as plain text that should make it more legible.
Hello,
I have three datasets StartSignals, MainData, StopSignals and need to compound
the data for each variable in
Hello,
I have three datasets StartSignals, MainData, StopSignals and need to compound
the data for each variable in MainData over dates that fall between the Start
and Stop signals. (Stop signals are common and the same to all X1:X5
variables). Please see sample below:
The one way I was thinking
7 matches
Mail list logo