plot.bivden(sparr)
plot.bivden()所属R语言包:sparr
Plotting a bivariate kernel density estimate object
绘制一个二元的内核密度估计对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
plot methods for classes "bivden" and "rrs"
plot类"bivden"和"rrs"的方法
用法----------Usage----------
## S3 method for class 'bivden'
plot(x, ..., display = c("heat", "contour", "persp", "3d"),
show.WIN = TRUE)
## S3 method for class 'rrs'
plot(x, ..., display = c("heat", "contour", "persp", "3d"),
show.WIN = TRUE, tolerance.matrix = NULL,
tol.opt = list(raise = 0.01, col = "black", levels = 0.05, lty = 1, lwd = 1))
参数----------Arguments----------
参数:x
An object of class "bivden" resulting from a call to bivariate.density, or an object of class "rss" resulting from a call to risk.
类的一个对象"bivden"调用bivariate.density,或一个类的对象"rss"调用risk产生。
参数:...
Additional graphical parameters to be passed to the relevant plot command depending on the value of display.
额外的图形来传递参数的相关绘图命令的display的价值。
参数:display
One of four possible character strings indicating the kind of plot desired (see 'Details'). Defaults to "heat".
其中四种可能的字符串表示这种类型所需的图(见“详细信息”)。默认为"heat"的。
参数:show.WIN
Boolean. Whether or not to draw the study region as an aesthetic enhancement to the plot of the density/risk surface. Defaults to TRUE.
布尔值。无论画研究区域密度/风险表面图的审美增强。默认为TRUE的。
参数:tolerance.matrix
The matrix of p-values resulting from a call to tolerance and used to draw the asymptotic tolerance contours. If this argument is supplied, tolerance contours are automatically superimposed upon a display = "heat" or display = "3d" plot. Ignored for display = "persp" or display = "contour" plots. Defaults to NULL.
矩阵的p-值从调用tolerance和用于绘制的渐近公差轮廓。如果此参数提供的,宽容的轮廓自动叠加在一个display = "heat"或display = "3d"图。 display = "persp"或display = "contour"图中被忽略。默认为NULL的。
参数:tol.opt
A named list of components that control plotting of the tolerance contours given by tolerance.matrix. Components col, levels, lty and lwd are vectors of equal length controlling the colour, significance levels, line type (ignored for display = "3d") and line width of the plotted contours respectively. The element raise is a single numeric value and is used only when display = "3d". This vertically (i.e. with respect to the z axis) translates the contours upon the 3-D surface (see "Details"). A value of 0 requests no translation. Defaults to 0.01.
一个命名列表组件控制绘制的公差轮廓的tolerance.matrix。组件col,levels,lty和lwd向量的长度等于控制颜色,显着性水平,线路类型(忽略display = "3d")和线宽度所绘制的轮廓。元素raise是一个单一的数值,并只用于display = "3d"。这种垂直(即与z轴)转换后的3-D表面轮廓(见“详细信息”)。的值0请求没有翻译。默认为0.01的。
Details
详细信息----------Details----------
There are currently four implemented plot types to visualise the estimated density or risk function. "heat" selects a heatplot, "contour" is simply a contour plot and "persp" creates a perspective plot. Selection of "3d" uses functions from the rgl package to open an RGL graphics device and creates a 3-dimensional surface which the user can interact with using the mouse. To use ... to improve the appearance of the four possible plot types "heat", "contour", "persp" and "3d", the reader is highly recommended to consult the relevant documentation in the help pages plot.im, contour, persp and persp3d respectively.
目前有四个图类型的可视化密度估计或风险的功能。 "heat"选择一个heatplot,,"contour"是一个简单的等高线图和"persp"创建的透视图。选择"3d"使用功能rgl包打开RGL的图形设备,并创建一个三维表面,用户可以使用鼠标进行交互。要使用...四个可能的图类型,以改善外观"heat","contour","persp"和"3d",读者强烈建议咨询有关在帮助页面上的文档plot.im,contour,persp和persp3d。
Adding tolerance contours to a "3d" relative risk plot requires the function to make some approximations to the vertical positioning of the contours at each corresponding coordinate. This can lead to some parts of normally visible contours falling "underneath" the plotted surface, resulting in partially obscured contours. The element raise in tol.opt overcomes this issue by artificially raising the visible contours by a fixed amount. Care should be taken to find an appropriate value for raise for each analysis.
添加公差轮廓"3d"相对风险图需要做出一些近似的轮廓的垂直定位在每个对应的坐标的函数。这可能会导致一些地方通常可见的轮廓下降“所绘制的表面之下,造成部分模糊的轮廓。元素raise中tol.opt克服这个问题,通过人为地提高了可见的轮廓由一个固定的量。应为每一个分析,找到一个合适的值raise。
值----------Value----------
Plots to the relevant graphics device.
图相关的图形设备。
(作者)----------Author(s)----------
T.M. Davies
参见----------See Also----------
bivariate.density, risk, plot.default, plot.im, contour,<br> persp, persp3d, par, par3d
bivariate.density, risk, plot.default, plot.im, contour,参考persp, persp3d, par, par3d
实例----------Examples----------
## see Examples in documentation for functions 'bivariate.density',[#见的文档中功能的bivariate.density“的例子,]
## 'risk' and 'tolerance'.[#“风险”和“宽容”。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|