Description Usage Arguments Details Author(s) References Examples

A QQ plot designed with statistics students in mind

1 |

`x` |
A vector of data |

`ax` |
The name you want to call |

`leg` |
Optional argument that places a legend in the top left of the plot with the text given by |

`cex.leg` |
Optional argument that gives the magnification of the text in the legend |

This function gives a "QQ plot" that is more easily interpreted than the standard QQ plot. Instead of plotting quantiles, it plots the observed values of `x`

versus the values expected had `x`

come from a Normal distribution.

The distribution can be considered approximately Normal if the points stay within the upper/lower dashed red lines (with the possible exception at the far left/right) and if there is no overall global curvature.

Adam Petrie

Introduction to Regression and Modeling

1 2 3 4 5 6 7 8 9 10 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.