search for: pact2008

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

Did you mean: pact00
2008 Sep 26
1
looking for a better way to code a bar graph
...hat contains the percent that certain features contribute to a part and the date the part was built I'd like to do stacked bar graphs one bar per part showing the percents and I'd like tospace the bars based on the date released I tried area <- read.csv("c:/talks/pact2008/g1.csv"); dates <-strptime(as.character(area$date), "%m/%d/%Y") ## hack to figure out the amount to shift the bars l <- length(as.POSIXct(dates)) diff <- as.numeric(difftime(dates[2:l], dates[1:(l-1)])) diff <- rev(diff/max(diff)) colors <- gray.colors(3...