plinnerrange {plgraphics} | R Documentation |
Inner Plotting Limits
Description
Calculates inner limits for plotting, based on a robust estimate of the range.
Usage
plinnerrange(innerrange, data, factor = 4, FUNC = robrange)
Arguments
innerrange |
logical: Should range be calculated?
If |
data |
vector or data.frame for which the range(s) will be calculated |
factor |
expansion of the calculated robust range to yield the plotting range |
FUNC |
function used to calculate the robust range.
The |
Value
Matrix of 2 rows giving the ranges to be used as
inner plotting ranges for the variables.
If innerrange
is such a matrix or data.frame, it will be returned
as is.
Author(s)
Werner A. Stahel
See Also
Examples
data(d.blast)
dd <- d.blast[,c("charge","distance","tremor")]
( t.ipl <- plinnerrange(TRUE, dd) )
plot(dd[,"tremor"], plcoord(dd[,"tremor"], t.ipl[,"tremor"]))
abline(h=t.ipl[,"tremor"])
[Package plgraphics version 1.2 Index]