search for: ship1

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

Did you mean: ship
2006 Dec 01
1
group by
...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(ship1$Yield)); Location <- "A"; ShippedWafer <- nrow(ship1); SortedWafer <- nrow(ship1)-nrow(ship3); UnsortedWa...