plinnerrange | R Documentation |
Calculates inner limits for plotting, based on a robust estimate of the range.
plinnerrange(innerrange, data, factor = 4, FUNC = robrange)
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 |
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.
Werner A. Stahel
robrange
, plcoord
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"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.