Displaying 2 results from an estimated 2 matches for "all6".
Did you mean:
all
2012 Oct 19
4
Creating a new by variable in a dataframe
Hello,
I have a dataframe w/ 3 variables of interest: transaction,date(tdate) &
time(event_tim).
How could I create a 4th variable (last_trans) that would flag the last
transaction of the day for each day?
In SAS I use:
proc sort data=all6;
by tdate event_tim;
run;
/*Create last transaction flag per day*/
data all6;
set all6;
by tdate event_tim;
last_trans=last.tdate;
Thanks ahead for any suggestions.
--
View this message in context: http://r.789695.n4.nabble.com/Creating-a-new-by-variable-in-a-dataframe-tp4646782....
2009 Jan 27
1
Problem with RMA using limma, oligo and pdInfoBuilder packages
...all2 <- merge(all, Mean1, by.x="sample", by.y=0, all=T)
> all3 <- merge(all2, Mean2, by.x="sample", by.y=0, all=T)
> all4 <- merge(all3, sd1, by.x="sample", by.y=0, all=T)
> all5 <- merge(all4, sd2, by.x="sample", by.y=0, all=T)
> all6 <- merge(all5, d, by.x="sample", by.y=0, all=T)
> write.table(data.frame(all6), file="ULTIMETESTtout.xls", sep="\t",
col.names = NA)
> dim(all6)
[1] 240410 24
>
> # I also try using slightly the same way as I used with affy package
>
>...