search for: weekmin

Displaying 1 result from an estimated 1 matches for "weekmin".

Did you mean: webmin
2006 Dec 01
1
group by
...code works however finally I would like to break up the data even more and split it to Site, Week, Partnumber and Lot and here I'm lost. Is there a 'grouping by' function in R which allows this operation much easier without 'hardwiring' the parameter like I did it? Code siteA Weekmin <- min(ship$TransactionWeek); Weekmax <- max(ship$TransactionWeek); Week <-Weekmin -1; repeat{ Week <- Week +1; ship1 <- subset(ship, ship$TransactionWeek == Week &ship$Testside %in% c("A")); ship2 <- subset(ship1,ship1$Yield != 0 ); ship3 <- subset(ship1,is.na(...