Internal functions for qqplot of package distrMod

Share:

Description

These functions are used internally by qqplot of package distrMod.

Usage

1
.labelprep(x,y,lab.pts,col.lbl,cex.lbl,adj.lbl,which.lbs,which.Order,order.traf)

Arguments

x

a (numeric) vector

y

a (numeric) vector of same length as x

cex.lbl

magnification factor for the plotted observation labels

col.lbl

color for the plotted observation labels

adj.lbl

adj parameter for the plotted observation labels

lab.pts

character or NULL; observation labels to be used

which.lbs

integer or NULL; which observations shall be labelled

which.Order

integer or NULL; which of the ordered (remaining) observations shall be labelled

order.traf

function or NULL; an optional trafo by which the observations are ordered (as order(trafo(obs)).

Details

.labelprep prepares the labels for later output: first some indices among x according to which.lbs are (optionally) selected, then orders both x and y according to the order of the remaining (optionally transformed by order.traf) values of x (decreasing); finally only the order statistics (w.r.t. the preceding ordering) as specified in which.Order are returned; correspondingly, labels, colors, and magnification factors, are ordered respectively thinned out.

Value

.labelprep

a list with components x0 (the thinned out and ordered vector x), y0 (the thinned out and ordered vector y), lab (the thinned out and ordered vector of labels lab.pts), col (the thinned out and ordered vector of colors col.lbs), cex (the thinned out and ordered vector of magnification factors cex.lbs). adj (the thinned out and ordered vector of adjacencies adj.lbs).

Author(s)

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de,

See Also

ks.test, qqplot ,internals_qqplot , qqplot, qqplot

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.