Displaying 1 result from an estimated 1 matches for "_pro_001".
2006 Nov 15
1
dynamic aggregation of many variables
Hi,
i have many variables for in example 4weeks and want to do
aggregations, like mean standard , deviation etc..
With mean it works but how i can calculate the standard deviation for
the 4weeks and for every ID.
many thanks & regards, christian
week1 <- grep("(_PRO_001)",names(dmx3),perl=T)
week1table <- subset(dmx3,select=c(ID,week1))
week2 <- grep("(_PRO_002)",names(dmx3),perl=T)
week2table <- subset(dmx3,select=c(ID,week2))
week3 <- grep("(_PRO_003)",names(dmx3),perl=T)
week3table <- subset(dmx3,select=c(ID,week3))
we...