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

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

[复制链接]
发表于 2012-2-17 10:22:26 | 显示全部楼层 |阅读模式
plot.nfnGroupedData(nlme)
plot.nfnGroupedData()所属R语言包:nlme

                                        Plot an nfnGroupedData Object
                                         绘制一条nfnGroupedData对象

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

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

A Trellis plot of the response versus the primary covariate is generated. If outer variables are specified, the combination of their levels are used to determine the panels of the Trellis display. Otherwise, the levels of the grouping variable determine the panels. A scatter plot of the response versus the primary covariate is displayed in each panel, with observations corresponding to same inner group joined by line segments. The Trellis function xyplot is used.
生成的响应与主协变量的格子图。如果外部变量指定的水平相结合,用于确定网格显示面板。否则,各级分组变量的确定面板。每个小组的响应与主协变量的散点图显示,与对应线段加入相同的内部组的意见。网格功能xyplot使用。


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


## S3 method for class 'nfnGroupedData'
plot(x, outer, inner, innerGroups, xlab, ylab, strip, aspect, panel,
     key, grid, ...)



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

参数:x
an object inheriting from class nfnGroupedData, representing a groupedData object with a numeric primary covariate and a single grouping level.  
对象类继承nfnGroupedData,groupedData一个数字主协变量和一个单一的分组级别的对象。


参数:outer
an optional logical value or one-sided formula, indicating covariates that are outer to the grouping factor, which are used to determine the panels of the Trellis plot. If equal to TRUE, attr(object, "outer") is used to indicate the outer covariates. An outer covariate is invariant within the sets of rows defined by the grouping factor.  Ordering of the groups is done in such a way as to preserve adjacency of groups with the same value of the outer variables. Defaults to NULL, meaning that no outer covariates are to be used.   
一个可选的逻辑值或片面的公式,表明协变量的分组因素,这是用来确定的网格图板外。如果等于TRUE,attr(object, "outer")用来指示外协变量。外协变量是不变的定义分组因素的行集内。是在这样一种方式,保持与外部变量的值相同组邻接排列的团体。 NULL默认值,这意味着要使用无外协变量。


参数:inner
an optional logical value or one-sided formula, indicating a covariate that is inner to the grouping factor, which is used to associate points within each panel of the Trellis plot. If equal to TRUE, attr(object, "inner") is used to indicate the inner covariate. An inner covariate can change within the sets of rows defined by the grouping  factor. Defaults to NULL, meaning that no inner covariate  is present.   
一个可选的逻辑值或片面的公式,表示协变量分组因素,这是用来在每个面板的格子图关联点是内在的。如果等于TRUE,attr(object, "inner")用来表示内部协变量。一种内在的协变量定义分组因素的行集内可以改变。 NULL默认值,即没有内在的协变量是目前。


参数:innerGroups
an optional one-sided formula specifying a factor to be used for grouping the levels of the inner covariate. Different colors, or line types, are used for each level of the innerGroups factor. Default is NULL, meaning that no innerGroups covariate is present.  
可选片面的公式,指定要使用分组inner协的水平的因素。不同的颜色,或线条类型,用于每个innerGroups因子水平。默认是NULL,这意味着没有innerGroups协变量存在。


参数:xlab, ylab
optional character strings with the labels for the plot. Default is the corresponding elements of attr(object,      "labels") and attr(object, "units") pasted together.  
图标签的可选字符串。默认是attr(object,      "labels")和attr(object, "units")粘贴在一起的相应元素。


参数:strip
an optional function passed as the strip argument to the xyplot function. Default is strip.default(..., style      = 1) (see trellis.args).  
通过一个可选的功能strip参数xyplot功能。默认是strip.default(..., style      = 1)(见trellis.args)。


参数:aspect
an optional character string indicating the aspect ratio for the plot passed as the aspect argument to the xyplot function. Default is "xy" (see trellis.args).   
一个可选的字符串显示宽高比aspect参数传递给xyplot函数的图。默认是"xy"(见trellis.args)。


参数:panel
an optional function used to generate the individual panels in the Trellis display, passed as the panel argument to the xyplot function.
一个可选功能,用于在网格显示生成的单个面板panel参数传递给xyplot功能。


参数:key
an optional logical function or function. If TRUE and innerGroups is non-NULL, a legend for the different innerGroups levels is included at the top of the plot. If given as a function, it is passed as the key argument to the xyplot function.  Default is TRUE if innerGroups is non-NULL and FALSE otherwise.  
一个可选的逻辑功能或功能。如果TRUE和innerGroups非NULL,为不同innerGroups各级传奇图顶部。如果作为一个函数,它是通过keyxyplot功能参数。默认为TRUE如果innerGroups是NULL和FALSE否则。


参数:grid
an optional logical value indicating whether a grid should be added to plot. Default is TRUE.
一个可选的逻辑值,该值指示网格是否应该被添加到图。默认TRUE。


参数:...
optional arguments passed to the xyplot function.
可选参数传递给xyplot功能。


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

a Trellis plot of the response versus the primary covariate.
一个格子图的主要协变量与响应。


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


Jose Pinheiro and Douglas Bates <a href="mailto:bates@stat.wisc.edu">bates@stat.wisc.edu</a>



参考文献----------References----------

Data&quot;, in &quot;Modelling Longitudinal and Spatially Correlated Data: Methods, Applications and Future Directions&quot;, T.G. Gregoire (ed.), Springer-Verlag, New York.

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

groupedData, xyplot
groupedData,xyplot


举例----------Examples----------


# different panels per Subject[每个主题不同的面板]
plot(Orthodont)
# different panels per gender[每性别不同的面板]
plot(Orthodont, outer = TRUE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 00:55 , Processed in 0.021304 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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