Learn R Programming

RobAStBase (version 0.7.1)

internals_for_RobAStBase_ddPlot: Internal / Helper functions of package RobAStBase for ddPlot

Description

This function is an internally used helper function for ddPlot in package RobAStBase.

Usage

.ddPlot.MatNtNtCoCo(data, ...,  dist.x = NormType(), dist.y  = NormType(),
       cutoff.x = cutoff(norm = dist.x, cutoff.quantile  = cutoff.quantile.x),
       cutoff.y = cutoff(norm = dist.y, cutoff.quantile  = cutoff.quantile.y),
       cutoff.quantile.x = 0.95, cutoff.quantile.y = cutoff.quantile.x,
       transform.x, transform.y = transform.x,
       id.n, lab.pts, adj =0, cex.idn = 1,
       col.idn = par("col"), lty.cutoff,
       lwd.cutoff, col.cutoff = "red")

Arguments

Value

a list with itemsid.xthe indices of (possibly transformed) data (within subset id.n) beyond the x-cutoffid.ythe indices of (possibly transformed) data (within subset id.n) beyond the y-cutoffid.xythe indices of (possibly transformed) data (within subset id.n) beyond the x-cutoff and the y-cutoffqtxthe quantiles of the distances of the (possibly transformed) data in x directionqtythe quantiles of the distances of the (possibly transformed) data in y directioncutoff.x.vthe cutoff value in x directioncutoff.y.vthe cutoff value in y direction

concept

utilities

Details

performs the plotting for ddPlot and outlyingPlotIC; all arguments except for data are optional. In case they are missing default values are used as usual; for those arguments without default arguments, we do [object Object],.,[object Object],.,[object Object],.,[object Object],.,[object Object],.

See Also

plot.default, par, ddPlot, outlyingPlotIC

Examples

Run this code
MX <- matrix(rnorm(1500),nrow=6)
QM <- matrix(rnorm(36),nrow=6); QM <- QM %*% t(QM)
RobAStBase:::.ddPlot.MatNtNtCoCo(data=MX, 
        dist.y=QFNorm(QuadF=PosSemDefSymmMatrix(QM)),
        xlab="Norm.x",ylab="Norm.y", cex.idn = 1.3, offset=0,
        lwd=2, lwd.cutoff=4, lty=2, col.cutoff =2, col.idn="green",
        col = "blue", adj=0.4, pos=4,id.n = sample(1:200,size=100),
        lab.pts=letters,log="x", main="GA", sub="NO",cex.sub=0.2)

Run the code above in your browser using DataLab