includeEffects(RSiena)
includeEffects()所属R语言包:RSiena
Function to include effects in a Siena model
功能包括锡耶纳模型中的影响
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function provides an interface to set the include column on selected rows of a Siena effects object
此功能提供了一个接口设置锡耶纳的影响对象的选定行包含列
用法----------Usage----------
includeEffects(myeff, ..., include = TRUE, name = myeff$name[1],
type = "eval", interaction1 = "", interaction2 = "", character=FALSE)
参数----------Arguments----------
参数:myeff
a Siena effects object as created by getEffects
锡耶纳的影响对象创建的getEffects的
参数:...
short names to identify the effects which should be included or excluded.
短的名称来标识应包含或排除的效果。
参数:include
Boolean. default TRUE, but can be switched to FALSE to turn off an effect.
布尔值。缺省为TRUE,但也可以切换为FALSE,则关闭效果。
参数:name
Name of network for which effects are being included. Defaults to the first in the effects object.
网络名称的影响。默认的影响对象中的第一个。
参数:type
Type of effects to be included.
的特效类型。
参数:interaction1
Name of siena object where needed to completely identify the effects e.g. covariate name or behavior variable name.
的锡耶纳对象名称需要完全识别的影响,如协变量名或行为变量名。
参数:interaction2
Name of siena object where needed to completely identify the effects e.g. covariate name or behavior variable name.
的锡耶纳对象名称需要完全识别的影响,如协变量名或行为变量名。
参数:character
Boolean: are the effect names character strings or not
布尔效果名称的字符串或不
Details
详细信息----------Details----------
The arguments should identify the effects completely. The include column will be set to the value requested (TRUE or FALSE).
的参数应该完全确定的影响。包括列将被设置为请求的值(TRUE或FALSE)。
值----------Value----------
An updated version of the input effects object, with the include columns for one or more rows updated. Details of the rows altered will be printed.
更新版本的输入效果的对象,包括一个或多个行更新的列。行更改的详细信息将被打印出来。
(作者)----------Author(s)----------
Ruth Ripley
参考文献----------References----------
<h3>See Also</h3> <code>getEffects</code>
实例----------Examples----------
mynet1 <- sienaNet(array(c(s501, s502, s503), dim=c(50, 50, 3)))
mynet2 <- sienaNet(s50a, type="behavior")
mydata <- sienaDataCreate(mynet1, mynet2)
myeff <- getEffects(mydata)
myeff <- includeEffects(myeff, transTrip, balance)
myeff <- includeEffects(myeff, avAlt, name="mynet2", interaction1="mynet1")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|