title: How to draw a Q-Q plot in R?
body: <p>The task: To generate three sets of 100 observations from your fitted normal distribution and draw the Q-Q plot for each data set without using qqplot or qqnorm.</p>
  
  <p>So far I have:</p>
  
  <pre><code>y = c(194, 209, 205, 180, 196, 178, 214, 199, 224, 230)
  mu = (1/10)*sum(y)
  v = sd(y)
  x=rnorm(10,mu,v)
  hist(x,breaks=20)
  curve(dnorm(x,mu,v),add=TRUE,col="red")
  </code></pre>