Description Usage Arguments Details Author(s) See Also Examples

This is the default panel function for `qqmath`

.

1 2 3 4 5 6 | ```
panel.qqmath(x, f.value = NULL,
distribution = qnorm,
qtype = 7,
groups = NULL, ...,
tails.n = 0,
identifier = "qqmath")
``` |

`x` |
vector (typically numeric, coerced if not) of data values to be used in the panel. |

`f.value, distribution` |
Defines how quantiles are calculated. See |

`qtype` |
The |

`groups` |
An optional grouping variable. Within each panel, one Q-Q plot is produced for every level of this grouping variable, differentiated by different graphical parameters. |

`...` |
Further arguments, often graphical parameters, eventually passed on
to |

`tails.n` |
number of data points to represent exactly on each tail of the
distribution. This reproduces the effect of |

`identifier` |
A character string that is prepended to the names of grobs that are created by this panel function. |

Creates a Q-Q plot of the data and the theoretical distribution given
by `distribution`

. Note that most of the arguments controlling
the display can be supplied directly to the high-level `qqmath`

call.

Deepayan Sarkar Deepayan.Sarkar@R-project.org

1 2 3 4 5 6 7 8 9 10 11 | ```
set.seed(0)
xx <- rt(10000, df = 10)
qqmath(~ xx, pch = "+", distribution = qnorm,
grid = TRUE, abline = c(0, 1),
xlab.top = c("raw", "ppoints(100)", "tails.n = 50"),
panel = function(..., f.value) {
switch(panel.number(),
panel.qqmath(..., f.value = NULL),
panel.qqmath(..., f.value = ppoints(100)),
panel.qqmath(..., f.value = ppoints(100), tails.n = 50))
}, layout = c(3, 1))[c(1,1,1)]
``` |

lattice documentation built on May 21, 2017, 3:50 a.m.

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.