Question: how does qqnorm work in r?
Answer: In R, there are two functions to create Q-Q plots: qqnorm and qqplot . qqnorm creates a Normal Q-Q plot. You give it a vector of data and R plots the data in sorted order versus quantiles from a standard Normal distribution.