找回密码
 注册
查看: 273|回复: 0

R语言 sfsmisc包 p.tachoPlot()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:39:38 | 显示全部楼层 |阅读模式
p.tachoPlot(sfsmisc)
p.tachoPlot()所属R语言包:sfsmisc

                                        Draw Symbol on a Plot
                                         在一块土地上绘制符号

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Puts a symbol (pointer) on a plot at each of the specified locations.
将一个符号在图上指定的位置(指针)。


用法----------Usage----------


p.tachoPlot(x, y, z, angle=c(pi/4,3*pi/4), size,
            method = c("robust", "sensitive", "rank"),
            legend = TRUE, show.method = legend,
            xlab = deparse(substitute(x)), ylab = deparse(substitute(y)),
            xlim, ylim, ...)



参数----------Arguments----------

参数:x,y,z
coordinates of points. Numeric vectors of the same length. Missing values (NAs) are allowed.
的点的坐标。具有相同的长度的数值向量。遗漏值(NAS)是允许的。


参数:angle
numeric vector whose elements give the angles between the horizontal baseline and the minimum and maximum direction of the pointer measured clockwise in radians.
弧度中的顺时针方向测得的数值向量,其元素给水平基线和指针的最小和最大的方向之间的角度。


参数:size
length of the pointers in cm.
长度指针厘米。


参数:method
string specifying the method to calculate the angle of the pointer.  One of "sensitive", "robust" or "rank".  Only the first two characters are necessary.  The minimum and maximum direction of the pointer corresponds to min(z) and max(z) if method is "sensitive" or "rank" and to the upper and lower extreme of z if method is "robust" (see boxplot or rrange for details).  The angle is proportional to z or rank(z) in case of method="rank".  
字符串指定的方法来计算的角度的指针。 "sensitive","robust"或"rank"之一。只有前两个字符是必要的。的指针对应的最小和最大的方向为min(z)和最大(z)的方法是"sensitive"或"rank"和上部和下部极端的z,如果方法是"robust" (见boxplot或rrange的详细信息)。的角度成正比z或排名(z)的情况下,method="rank"。


参数:legend
logical flag: if TRUE (default), a legend giving the values of the minimum and maximum direction of the pointer is drawn.
逻辑标志:TRUE如果(默认),一个传奇,值的最小值和最大值的指针方向绘制。


参数:show.method
logical flag, defaulting to legend; if true, the method name is printed.
逻辑标志,默认为legend,如果为true,该方法的名称印。


参数:xlab,ylab
labels for x and y axis; defaults to the "expression" used in the function call.
X和Y轴,默认的函数调用中使用的“表达”的标签。


参数:xlim,ylim
numeric of length 2, the limits for the x and y axis, respectively; see plot.default.
长度为2,为x轴和y轴分别限制的数字;看到plot.default。


参数:...
further arguments to plot.  Graphical parameters (see par) may also be supplied as arguments to this function.
进一步的论据plot。图形参数(见par)也可以提供这个函数的参数。


Details

详细信息----------Details----------

A scatter plot of the variables x and y is plotted. The value of the third variable z is given by the direction of a pointer (similar to a tachometer). Observations whose z-coordinate is missing are marked by a dot.
的变量x和y绘制的散点图。第三变量z的值由下式给出的一个指针的方向(类似于一个转速计)。观察z坐标缺失标记一个点。


副作用----------Side Effects----------

A plot is created on the current graphics device.
有一个图是建立在当前图形上的设备。


(作者)----------Author(s)----------



Christian Keller <a href="mailto:keller@stat.math.ethz.ch">keller@stat.math.ethz.ch</a>, June 1995




参见----------See Also----------

symbols
symbols


实例----------Examples----------


data(state)
data(USArrests)
p.tachoPlot(state.center $x, state.center $y, USArrests[,"UrbanPop"])

data(mtcars)
par(mfrow=c(2,2))
## see the difference between the three methods (not much differ. here!)[#看到的差异之间的三种方法(没有太大的差异。这里!)]

p.tachoPlot(mtcars$hp, mtcars$disp, mtcars$mpg, method="sens")
p.tachoPlot(mtcars$hp, mtcars$disp, mtcars$mpg, method="rank")
p.tachoPlot(mtcars$hp, mtcars$disp, mtcars$mpg, method="rob")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-21 13:15 , Processed in 0.024792 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表