Displaying 1 result from an estimated 1 matches for "week1tabl".
Did you mean:
week1table
2006 Nov 15
1
dynamic aggregation of many variables
...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))
week4 <- grep("(_PRO_004)"...