infoPlot {RobAStBase} | R Documentation |
Plot absolute and relative information of influence curves.
infoPlot(object, ...) ## S4 method for signature 'IC': infoPlot(object, ..., withSweave = getdistrOption("withSweave"), colI = grey(0.5), lwdI = 0.7*par("lwd"), main = FALSE, inner = TRUE, sub = FALSE, col.inner = par("col.main"), cex.inner = 0.8, bmar = par("mar")[1], tmar = par("mar")[3], mfColRow = TRUE)
object |
object of class "InfluenceCurve" |
withSweave |
logical: if TRUE (for working with Sweave )
no extra device is opened |
main |
logical: is a main title to be used? or just as argument main in plot.default . |
inner |
logical: panels have their own titles? or character vector of / cast to length number of comparands: main in plot.default ) |
sub |
logical: is a sub-title to be used? or just as argument sub in plot.default . |
tmar |
top margin – useful for non-standard main title sizes |
bmar |
bottom margin – useful for non-standard sub title sizes |
colI |
color of the classically optimal IC |
lwdI |
linewidth of the classically optimal IC |
cex.inner |
magnification to be used for inner titles relative
to the current setting of cex ; as in
par |
col.inner |
character or integer code; color for the inner title |
mfColRow |
shall default partition in panels be used — defaults to TRUE |
... |
further parameters for plot |
Absolute information is defined as the square of the length
of an IC. The relative information is defined as the
absolute information of one component with respect to the
absolute information of the whole IC; confer Section 8.1
of Kohl (2005).
Any parameters of plot.default
may be passed on to this particular
plot
method.
For main-, inner, and subtitles given as arguments main
,
inner
, and sub
, top and bottom margins are enlarged to 5 resp.
6 by default but may also be specified by tmar
/ bmar
arguments.
If main
/ inner
/ sub
are
logical then if the respective argument is FALSE
nothing is done/plotted,
but if it is TRUE
, we use a default main title taking up the calling
arguments in case of main
, default inner titles taking up the
class and (named) parameter slots of arguments in case of inner
,
and a "generated on <data>"-tag in case of sub
.
Of course, if main
/ inner
/ sub
are character
, this
is used for the title; in case of inner
it is then checked whether it
has correct length. In all title arguments, the following patterns are substituted:
"%C"
object
"%A"
object
"%D"
Matthias Kohl Matthias.Kohl@stamats.de
Kohl, M. (2005) Numerical Contributions to the Asymptotic Theory of Robustness. Bayreuth: Dissertation.
N <- NormLocationScaleFamily(mean=0, sd=1) IC1 <- optIC(model = N, risk = asCov()) infoPlot(IC1)