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

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

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

                                        Plot a ranef.lmList Object
                                         绘制ranef.lmList对象

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

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

If form is missing, or is given as a one-sided formula, a Trellis dot-plot of the random effects is generated, with a different panel for each random effect (coefficient). Rows in the dot-plot are determined by the form argument (if not missing) or by the row names of the random effects (coefficients). If a single factor is specified in form, its levels determine the dot-plot rows (with possibly multiple dots per row); otherwise, if form specifies a crossing of factors, the dot-plot rows are determined by all combinations of the levels of the individual factors in the  formula. The Trellis function dotplot is used in this method function.
如果form丢失,或者是一种片面的公式,网格点积的随机效应产生,为每个随机效应(系数)不同的面板。在点图行form参数(如果不缺)或随机效应(系数)的行名。如果在form指定一个单一的因素是,其水平确定的点积行(每行可能多点),否则,如果form指定道口因素,点积行公式中的个人因素水平的所有组合的决定。网格功能dotplot使用此方法的功能。

If form is a two-sided formula, a Trellis display is generated, with a different panel for each variable listed in the right hand side of form. Scatter plots are generated for numeric variables and boxplots are generated for categorical (factor or ordered) variables.
如果form是一个双面的公式,生成一个网格显示,一个在右边的form中列出的每个变量的不同面板。散点图生成的数值变量和类别(factor或ordered)变量生成的盒状图。


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


## S3 method for class 'ranef.lmList'
plot(x, form, grid, control, ...)



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

参数:x
an object inheriting from class ranef.lmList, representing the estimated coefficients or estimated random effects for the lmList object from which it was produced.   
一个对象类继承ranef.lmList,代表估计系数或lmList对象,从它产生的估计随机效应。


参数:form
an optional formula specifying the desired type of plot. If given as a one-sided formula, a dotplot of the estimated random effects (coefficients) grouped according to all combinations of the levels of the factors named in form is returned. Single factors (~g) or crossed factors (~g1*g2) are allowed. If given as a two-sided formula, the left hand side must be a single random effects (coefficient) and the right hand side is formed by covariates in x separated by +. A Trellis display of the random effect (coefficient) versus the named covariates is returned in this case. Default is NULL, in which case  the row names of the random effects (coefficients) are used.
一个可选的公式,指定所需的类型图。如果作为一种片面的公式,dotplot按form命名的因素水平的所有组合的估计随机效应(系数)返回。单因素(~g)或划线因素(~g1*g2)是允许的。如果作为一个双面的公式,左边必须是一个单一的随机效应(系数)和右边的协变量x+分离形成。在这种情况下,一个格子显示的命名的协变量与随机效应(系数),则返回。默认值为NULL,随机效应(系数)的行名,在这种情况下,用于。


参数:grid
an optional logical value indicating whether a grid should be added to plot. Only applies to plots associated with two-sided formulas in form. Default is FALSE.
一个可选的逻辑值,该值指示网格是否应该被添加到图。仅适用与form双面公式相关的图。默认FALSE。


参数:control
an optional list with control values for the plot, when form is given as a two-sided formula. The control values are referenced by name in the control list and  only the ones to be modified from the default need to be specified. Available values include: drawLine, a logical value indicating whether a loess smoother should be added to the scatter plots and a line connecting the medians should be added to the boxplots (default is TRUE); span.loess, used as the span argument in the call to panel.loess (default is 2/3); degree.loess, used as the degree argument in the call to panel.loess (default is 1); cex.axis, the character expansion factor for the x-axis (default is 0.8); srt.axis, the rotation factor for the x-axis (default is 0); and mgp.axis, the margin parameters for the x-axis (default is c(2, 0.5, 0)).
图的控制值的可选列表,当form作为一个双面的公式。控制值按名称引用control列表,并指定仅要修改默认的需要。可用的值包括:drawLine,一个逻辑值,指明是否loess平滑应该被添加到散点图,并应增加一条连接中线的盒状图(默认是TRUE) span.loess,span参数在调用panel.loess(默认是2/3)degree.loess,degree参数在调用panel.loess(默认为1)cex.axis,字符为X轴膨胀系数(默认是0.8)srt.axis为x轴的旋转因子(默认是0);和mgp.axis,利润率为x轴的参数(默认是c(2, 0.5, 0))。


参数:...
optional arguments passed to the Trellis dotplot function.   
可选参数传递的格子dotplot函数。


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

a Trellis plot of the estimated random-effects (coefficients) versus covariates, or groups.
一个估计随机效应(系数)与协变量,或团体的格子图。


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


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



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

lmList, dotplot
lmList,dotplot


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


fm1 <- lmList(distance ~ age | Subject, Orthodont)
plot(ranef(fm1))
fm1RE <- ranef(fm1, aug = TRUE)
plot(fm1RE, form = ~ Sex)
## Not run: plot(fm1RE, form = age ~ Sex)[#不能运行图(fm1RE,形式=年龄&#12316;性别)]

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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