You didn't try very hard. Try this, look at it and think about it:
jj <- scale(sample(1:100, 10)) qqnorm(jj) abline(0, 1) Rather than abline, however, most people, however, would use qqline(jj) in which case you don't need the scaling. V. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Terry Mu Sent: Sunday, 3 April 2005 4:00 PM To: R-Help Subject: [R] how to draw a 45 degree line on qqnorm() plot? # I can not draw a 45 degree line on a qqnorm() plot, jj <- sample(c(1:100), 10) qqnorm(jj) abline() don't work. Thank you. ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html