Learn R Programming

RobAStBase (version 0.7.1)

ddPlot-methods: Methods for Function ddPlot in Package `RobAStBase'

Description

ddPlot-methods

Usage

ddPlot(data, dist.x, dist.y, cutoff.x, cutoff.y, ...)
## S3 method for class 'matrix':
ddPlot(data, dist.x = NormType(), dist.y  = NormType(),
       cutoff.x, cutoff.y, ...,
       cutoff.quantile.x = 0.95, cutoff.quantile.y = cutoff.quantile.x,
       transform.x, transform.y = transform.x,
       id.n, lab.pts, adj, cex.idn,
       col.idn, lty.cutoff, lwd.cutoff, col.cutoff)
## S3 method for class 'numeric':
ddPlot(data, dist.x = NormType(), dist.y  = NormType(),
       cutoff.x, cutoff.y, ...,
       cutoff.quantile.x = 0.95, cutoff.quantile.y = cutoff.quantile.x,
       transform.x, transform.y = transform.x,
       id.n, lab.pts, adj, cex.idn,
       col.idn, lty.cutoff, lwd.cutoff, col.cutoff)
## S3 method for class 'data.frame':
ddPlot(data, dist.x = NormType(), dist.y  = NormType(),
       cutoff.x, cutoff.y, ...,
       cutoff.quantile.x = 0.95, cutoff.quantile.y = cutoff.quantile.x,
       transform.x, transform.y = transform.x,
       id.n, lab.pts, adj, cex.idn,
       col.idn, lty.cutoff, lwd.cutoff, col.cutoff)

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

docType

methods

Details

The matrix-method calls .ddPlot.MatNtNtCoCo, the numeric- and data.frame-methods coerce argument data to matrix --- the numeric-method by a call to matrix(data, nrow=1), in the data.frame-methods by a call to t(as.matrix(data)).

Examples

Run this code
MX <- matrix(rnorm(1500),nrow=6)
QM <- matrix(rnorm(36),nrow=6); QM <- QM %*% t(QM)
ddPlot(data=MX, dist.y=QFNorm(QuadF=PosSemDefSymmMatrix(QM)))

Run the code above in your browser using DataLab