outlyingPlotIC(RobAStBase)
outlyingPlotIC()所属R语言包:RobAStBase
Function outlyingPlotIC in Package ‘RobAStBase’
功能outlyingPlotIC包RobAStBase“
译者:生物统计家园网 机器人LoveR
描述----------Description----------
outlyingPlotIC produces an outlyingness plot based on distances applied
outlyingPlotIC产生的outlyingness的图根据应用的距离
用法----------Usage----------
outlyingPlotIC(data, IC.x, IC.y = IC.x, dist.x = NormType(),
dist.y, cutoff.y = cutoff.chisq(), cutoff.x = cutoff.sememp(), ...,
cutoff.quantile.x = 0.95,
cutoff.quantile.y = cutoff.quantile.x,
id.n, lab.pts, adj, cex.idn,
col.idn, lty.cutoff, lwd.cutoff, col.cutoff,
main = gettext("Outlyingness by means of a distance-distance plot")
)
参数----------Arguments----------
参数:data
data coercable to matrix; the data at which to produce the ddPlot.
数据coercable matrix;数据产生的ddPlot。
参数:IC.x
object of class IC the influence curve to produce the distances for the x axis.
类的对象IC的影响曲线的x轴产生的距离。
参数:IC.y
object of class IC the influence curve to produce the distances for the y axis.
类的对象IC的影响曲线的y轴产生的距离。
参数:...
further arguments to be passed to plot.default, text, and abline
进一步的参数被传递到plot.default,text和abline
参数:dist.x
object of class NormType; the distance for the x axis.
对象的类NormTypex轴的距离为。
参数:dist.y
object of class NormType; the distance for the y axis.
对象的类NormTypey轴的距离为。
参数:cutoff.x
object of class cutoff; the cutoff information for the x axis (the vertical line discriminating 'good' and 'bad' points).
类的对象cutoff,x轴(垂直线区分“好”与“坏”点)截止信息。
参数:cutoff.y
object of class cutoff; the cutoff information for the y axis (the horizontal line discriminating 'good' and 'bad' points).
类的对象cutoff,y轴(区分“好”与“坏”点的水平线)截止信息。
参数:cutoff.quantile.x
numeric; the cutoff quantile for the x axis.
数字;x轴的截止位数。
参数:cutoff.quantile.y
numeric; the cutoff quantile for the y axis.
数字;y轴的截止位数。
参数:id.n
a set of indices (or a corresponding logical vector); to select a subset of the data in argument data.
指数的一组(或对应的逻辑向量);选择参数data中的数据的一个子集。
参数:lab.pts
a vector of labels for the (unsubsetted) data.
(unsubsetted)data的标签的向量。
参数:adj
the corresponding argument for text for labelling the outliers.
对应的参数为text标记的离群值的。
参数:cex.idn
the corresponding cex argument for text for labelling the outliers.
相应的cex参数为text标记的离群值的。
参数:col.idn
the corresponding col argument for text for labelling the outliers.
相应的col参数为text标记的离群值的。
参数:lty.cutoff
the corresponding lty argument for abline for drawing the cutoff lines.
相应的lty参数abline画的明暗截止线。
参数:lwd.cutoff
the corresponding lwd argument for abline for drawing the cutoff lines.
相应的lwd参数abline画的明暗截止线。
参数:col.cutoff
the corresponding col argument for abline for drawing the cutoff lines.
相应的col参数abline画的明暗截止线。
参数:main
the main title.
主标题。
Details
详细信息----------Details----------
calls a corresponding ddPlot method to produce the plot.
调用一个对应的ddPlot的方法产生的图。
值----------Value----------
a list with items <table summary="R valueblock"> <tr valign="top"><td>id.x</td> <td> the indices of (possibly transformed) data (within subset id.n) beyond the x-cutoff</td></tr> <tr valign="top"><td>id.y</td> <td> the indices of (possibly transformed) data (within subset id.n) beyond the y-cutoff</td></tr> <tr valign="top"><td>id.xy</td> <td> the indices of (possibly transformed) data (within subset id.n) beyond the x-cutoff and the y-cutoff</td></tr> <tr valign="top"><td>qtx</td> <td> the quantiles of the distances of the (possibly transformed) data in x direction</td></tr> <tr valign="top"><td>qty</td> <td> the quantiles of the distances of the (possibly transformed) data in y direction</td></tr> <tr valign="top"><td>cutoff.x.v</td> <td> the cutoff value in x direction</td></tr> <tr valign="top"><td>cutoff.y.v</td> <td> the cutoff value in y direction</td></tr> </table>
列表中的项目(子集<table summary="R valueblock"> <tr valign="top"> <TD> id.x</ TD> <TD>指数可能转化数据<X >)超越id.n截止</ TD> </ TR> <tr valign="top"> <TD> x</ TD> <TD>指数(可能转化)数据(子集id.y)超出了id.n截止</ TD> </ TR> <tr valign="top"> <TD> y</ TD> <TD>指数可能转化数据(子集id.xy)超出了id.n截止x的截止</ TD> </ TR> <TR VALIGN =“顶” > <TD> y </ TD> <TD>的距离可能转化中的数据的位数qtx方向</ TD> </ TR> <TR VALIGN =“顶” > <TD> x </ TD> <TD>的距离可能转化中的数据的位数qty方向</ TD> </ TR> <TR VALIGN =“顶” > <TD> y </ TD> <TD>的临界值在cutoff.x.v方向</ TD> </ TR> <tr valign="top"> <TD>x </ TD> <TD>的临界值cutoff.y.v方向</ TD> </ TR> </表>
(作者)----------Author(s)----------
Peter Ruckdeschel <a href="mailtoeter.Ruckdeschel@itwm.fraunhofer.de">eter.Ruckdeschel@itwm.fraunhofer.de</a>
实例----------Examples----------
if(require(ROptEst)){
## generates normal location and scale family with mean = -2 and sd = 3[#生成正常的位置和规模的家庭均值= -2和SD = 3]
N0 <- NormLocationScaleFamily()
N0.IC0 <- optIC(model = N0, risk = asCov())
N0.Rob1 <- InfRobModel(center = N0, neighbor = ContNeighborhood(radius = 0.5))
N0.IC1 <- optIC(model = N0.Rob1, risk = asMSE())
xn <- c(rnorm(100),rcauchy(20)+20)
outlyingPlotIC(xn, IC.x=N0.IC0)
outlyingPlotIC(xn, IC.x=N0.IC1)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|