search for: classavg

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

Did you mean: classa
2009 Dec 03
5
Bar Plots: Error Bars
...de a bar graph and error bars, but I can't figure out how to align them properly (currently they are not centered on the bars and some of them aren't even close). Here's the code that I'm using: > marks <- sample(4:10, size=50, replace=TRUE) > dim(marks) <- c(10,5) > classavg <- colMeans (marks, na.rm=FALSE, dims = 1) > barplot(classavg, main="Class Average for Quizzes", xlab="Quiz", > ylab="Average", names = c("1","2","3","4","5"), ylim=c(0,12), axis.lty=1) box() > max <- ap...