search for: score_002

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

2010 Feb 17
4
Question about "Title"
...006") test <- c("A","B","A","B","C","A","B","C","A","B","A","B","A") score <- c(60,90,32,56,89,45,77,82,68,79,56,77,90) mydata <- data.frame(ID,test,score) score_002 <- score[mydata$ID=="002"] lbls <- round(score_002/sum(score_002)*100) lbls <- paste(lbls,"%",sep="") par(mar=c(4,4,4,4),oma=c(0,0,0,0)) pie(score_002,labels=lbls,radius=0.5) title(main="Pie chart of score",font.main=3,cex.main=1,line=-2.6) title(mai...