prepanel.qqmath.fitted: Prepanel function for qqmathFitted

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Prepanel function for qqmathFitted

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
    prepanel.qqmath.fitted(x, 
        f.value = NULL, 
        distribution = qnorm, 
        quantile.type = 7, 
        groups = NULL, 
        subscripts = NULL, 
        distribution.fit = NULL, 
        count = 1, 
        verbose = FALSE, 
        storeframe = parent.frame(2), ...)

Arguments

x

vector of observations (passed in from calling lattice function, e.g., qqmathFitted

f.value

vector of percentiles at which to compute quantiles from the reference distribution. By default, ppoints is used to specify sensible percentiles. Override this option with care.

distribution

function to compute quantiles from the reference distribution. Can be a named function (e.g., qnorm), a character string containing the name of a function (e.g., "qnorm"), or an anonymous function.

quantile.type

Numeric value, passed to quantile. Controls the type of sample quantiles that will be taken from the observations x. See the help page for quantile for more detail.

groups

Standard lattice argument defining data groups. See the help page for xyplot.

subscripts

Standard lattice argument for use with groups. See the help page for xyplot.

distribution.fit

function to fit the parameters of the reference distribution (defined in distribution). Can be a named function, a character string containing the name of a function, or an anonymous function. The function should return a list of parameters to distribution with names matching argument names to distribution.

count

This argument is for use by the calling function in conjunction with storeframe. It is not intended for use by the end user.

verbose

If TRUE, additional debugging information will be printed.

storeframe

This is the frame in which the fitted distributional parameters are stored to avoid potentially expensive recalculation. Do not modify this argument unless you have read and understood the source code to qqmathFitted.

...

This is provided for future use. Additional arguments will be ignored silently at this time.

Details

prepanel.qqmath.fitted is a modified version of prepanel.default.qqmath from Deepayan Sarkar's lattice package.

prepanel.qqmath.fitted does the actual distributional fitting for qqmathFitted. The results of the fitting are stored in the frame used by qqmathFitted so that they do not need to be recomputed by panel.qqmath.fitted.

Value

A list containing information on the limits of the plot. See prepanel.default.xyplot for more details on prepanel functions.

Author(s)

Christopher G. Green christopher.g.green@gmail.com for prepanel.qqmath.fitted. prepanel.qqmath.fitted is a modified version of prepanel.default.qqmath from the lattice package, written by Deepayan Sarkar.

See Also

qqmathFitted, panel.qqmath.fitted, qqmath, panel.qqmath, prepanel.default.xyplot

Examples

1
    # see qqmathFitted for examples

christopherggreen/cggmisc documentation built on May 13, 2019, 7:04 p.m.