search for: grade4

Displaying 2 results from an estimated 2 matches for "grade4".

Did you mean: grade
2004 Nov 28
1
paste command
In a previous post, I mentioned a loop being used to generate graphs. I have some sample code partially put together but have found one offending line of code that I cannot figure out what to do with. I have one data frame called grade4. If I do something like hist(grade4$math) I get the appropriate chart. Within the loop, however, I am doing this for multiple files and grades, so I use the paste command, but it isn't working. For example, the code would perform something similar to: hist(paste("grade", &quot...
2004 Nov 28
1
Modifications to an abline
...the abline to extend the entire region of the chart, but maybe say to the middle of the barplot. I would appreciate any thoughts on this. Any thoughts on code to improve the chart is also appreciated. Harold Windows XP ver 1.9 Grade1<-c(0,0,0,0) Grade2<-c(0,0,0,0) Grade3<-c(0,0,0,0) Grade4<-c(0,0,0,0) Grade5<-c(250,100,100,100) foobar<-cbind(Grade1,Grade2,Grade3,Grade4,Grade5) barplot(foobar,names=c("Grade 1", "Grade 2", "Grade 3", "Grade 4", "Grade 5"), col=c("blue","green","yellow","red&q...