[R] Consistent behaviour of for-loop [Solved]

Uwe Dippel udippel at uniten.edu.my
Fri Apr 16 04:18:09 CEST 2010


Greg Snow wrote:
> The first thing to do is look at the help page for the function: ?qqnorm and ?qqmath, the package where these functions are defined is at the top of the page, if that package is graphics then it is a base graphics function, if the package is grid, lattice, or ggplot2 then it is grid based graphics. 

SOLVED,
and thanks for the answer.
> Is your goal really to produce a whole set of normal qq plots from random data?  If so, you may be interested in the vis.test function in the TeachingDemos package (and associated functions).  One way to run this will mix together a qqplot of your data along with data generated from a normal distribution with the same mean and var so you can visually compare the plot of your data to plots of normal (and then lets you try to choose which is the real data).
>   

SOLVED, again. This is what I had in mind: demonstrating a bunch of 
normal qq-plots, by visually placing them side by side.
I'll try the TeachingDemos next.

Uwe



More information about the R-help mailing list