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

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

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

                                        Name Plot: Names or Numbers instead of Points in Plot
                                         名称图:名称或编号,而不是在图点

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

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

A utility function which basically calls plot(*, type="n") and text.   To have names or numbers instead of points in a plot is useful for identifaction, e.g., in a residual plot, see also TA.plot.
效用函数基本上调用plot(*, type="n")和text。要的名字或数字,而不是一个图点是非常有用的identifaction,例如,在剩余的图,请参阅TA.plot。


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


n.plot(x, y = NULL, nam = NULL, abbr = n >= 20 || max(nchar(nam))>=8,
       xlab = NULL, ylab = NULL, log = "",
       cex = par("cex"), col = par("col"), ...)



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

参数:x,y
coordinates at which to plot. If y is missing, x is used for both, if it's a data.frame,       list, 2-column matrix etc – via xy.coords; formula do not work.
坐标绘制。 y如果丢失,x为,如果它是一个data.frame,       list,2列矩阵等 - 通过xy.coords;公式不工作。


参数:nam
the labels to plot at each (x,y).  Per default, these taken from the data x and y;  case numbers 1:n are taken if no names are available.
标签来绘制在每个(的x,y)。每默认情况下,这些从数据x和y;病例数1:n如果没有名字。


参数:abbr
logical indicating if the nam labels should be abbreviated – with a sensible default.
逻辑表明,如果nam标签应该是缩写 - 一个合理的默认。


参数:xlab,ylab
labels for the x- and y- axis, the latter being empty by default.
对于x轴和y轴的标签,后者是空的预设值。


参数:log
character specifying if log scaled axes should be used, see plot.default.
如果log规模的轴应使用的字符,指定,请参阅plot.default。


参数:cex
plotting character expansion, see par.
绘制字符扩展,par。


参数:col
color to use for text().
要使用的颜色为text()。


参数:...
further arguments to be passed to the plot call.
进一步的参数被传递到plot呼叫。


值----------Value----------

invisibly, a character vector with the labels used.
不可见的字符向量的标签使用。


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


Martin Maechler, since 1992



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

plot.default, text.
plot.default,text。


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


n.plot(1:20, cumsum(rnorm(20)))
data(cars)
with(cars, n.plot(speed, dist, cex = 0.8, col = "forest green"))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 05:47 , Processed in 0.033511 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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