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

R语言:panel.number()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 18:30:51 | 显示全部楼层 |阅读模式
panel.number(lattice)
panel.number()所属R语言包:lattice

                                        Accessing Auxiliary Information During Plotting
                                         访问期间绘制的辅助信息

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

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

Control over lattice plots are provided through a collection of user specifiable functions that perform various tasks during the plotting. Not all information is available to all functions.  The functions documented here attempt to provide a consistent interface to access relevant information from within these user specified functions, namely those specified as the panel, strip and axis functions.
对晶格图的控制提供了通过收集用户可指定功能执行期间绘制的各种任务。并非所有的信息是可用的所有功能。这里记录的功能,试图提供一个一致的接口来访问这些用户在指定的功能,即指定为panel,strip和axis功能的相关信息。


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



current.row(prefix)
current.column(prefix)
panel.number(prefix)
packet.number(prefix)
which.packet(prefix)

trellis.currentLayout(which = c("packet", "panel"), prefix)




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

参数:which
whether return value (a matrix) should contain panel numbers or packet numbers, which are usually, but not necessarily, the same (see below for details).  
返回值(矩阵)是否应包含面板号码或分组号码,这通常是,但不一定相同(详见下文)。


参数:prefix
A character string acting as a prefix identifying the plot of a "trellis" object.  Only relevant when a particular page is occupied by more than one plot.  Defaults to the value appropriate for the last "trellis" object printed.  See trellis.focus.  
一个字符串作为确定图"trellis"对象的前缀。唯一相关的,当一个特定的页面是一个图占领。默认的价值在过去的"trellis"适当对象的打印。看到trellis.focus。


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

trellis.currentLayout returns a matrix with as many rows and columns as in the layout of panels in the current plot.  Entries in the matrix are integer indices indicating which packet (or panel; see below) occupies that position, with 0 indicating the absence of a panel.  current.row and current.column return integer indices specifying which row and column in the layout are currently active.  panel.number returns an integer counting which panel is being drawn (starting from 1 for the first panel, a.k.a. the panel order).  packet.number gives the packet number according to the packet order, which is determined by varying the first conditioning variable the fastest, then the second, and so on.  which.packet returns the combination of levels of the conditioning variables in the form of a numeric vector as long as the number of conditioning variables, with each element an integer indexing the levels of the corresponding variable.
trellis.currentLayout返回一个矩阵,在当前绘图板的布局与许多行和列。矩阵中的条目表明该包的整数索引(或面板,见下文)0显示面板的情况下占据这个位置。 current.row和current.column返回指定目前活跃在布局中的行和列的整数索引。 panel.number返回一个整数计数,正在制定的面板(从1开始的第一个面板,又名面板秩序)。 packet.number给包的数量,根据数据包的顺序,确定这是由不同的第一个调节变量是最快的,那么第二,等。 which.packet返回每个元素的组合作为调节变量的数目只要数字向量形式的调节变量的水平,一个整数索引相应的变量的水平。


注意----------Note----------

The availability of these functions make redundant some features available in earlier versions of lattice, namely optional arguments called panel.number and packet.number that were made available to panel and strip.  If you have written such functions, it should be enough to replace instances of panel.number and packet.number by the corresponding function calls.  You should also remove panel.number and packet.number from the argument list of your function to avoid a warning.
这些功能的可用性,使多余的一些功能在早期版本的晶格,即可选参数称为panel.number和packet.number,panel和strip。如果你已经写了这样的功能,它应该是足够的取代panel.number和packet.number由相应的函数调用的实例。你也应该删除panel.number和packet.number从你的函数的参数列表,以避免警告。

If these accessor functions are not enough for your needs, feel free to contact the maintainer and ask for more.
如果这些访问函数是不足够满足您的需求,随时联系维护者,并要求更多。


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


Deepayan Sarkar <a href="mailtoeepayan.Sarkar@R-project.org">Deepayan.Sarkar@R-project.org</a>



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

Lattice, xyplot
Lattice,xyplot

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 20:10 , Processed in 0.027002 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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