ContControl-class(simFrame)
ContControl-class()所属R语言包:simFrame
Class "ContControl"
类“ContControl”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Virtual class for controlling contamination in a simulation experiment (used internally).
虚拟类用于控制污染的模拟实验(内部使用)。
类对象----------Objects from the Class----------
A virtual Class: No objects may be created from it.
可能会从它创建一个虚拟类:没有对象。
插槽----------Slots----------
target: Object of class "OptCharacter"; a character vector specifying specifying the variables (columns) to be contaminated, or NULL to contaminate all variables (except the additional ones
target:类的对象"OptCharacter";一个字符向量确定指定被污染,或NULL污染的所有变量(除了额外的变量(列)
epsilon: Object of class "numeric" giving the
epsilon:类的对象"numeric"给
grouping: Object of class "character" specifying a grouping variable (column) to be used for contaminating whole groups
grouping类的对象"character"指定分组变量(列)用于污染整群:
aux: Object of class "character" specifying an auxiliary variable (column) whose values are used as probability weights
aux:类对象的"character"指定的辅助变量(列)的值被用作概率加权
扩展----------Extends----------
Class "VirtualContControl", directly. Class "OptContControl", by class "VirtualContControl", distance 2.
类"VirtualContControl",直接。类"OptContControl"“类”VirtualContControl“,距离2。
访问和修改方法----------Accessor and mutator methods----------
In addition to the accessor and mutator methods for the slots inherited from "VirtualContControl", the following are available:
除了访问和修改方法继承自"VirtualContControl"的插槽,下面是可供选择:
getGrouping signature(x = "ContControl"): get slot
getGroupingsignature(x = "ContControl"):得到插槽
setGrouping signature(x = "ContControl"): set slot
setGroupingsignature(x = "ContControl"):设定插槽
getAux signature(x = "ContControl"): get slot
getAuxsignature(x = "ContControl"):得到插槽
setAux signature(x = "ContControl"): set slot
setAuxsignature(x = "ContControl"):设定插槽
方法----------Methods----------
In addition to the methods inherited from "VirtualContControl", the following are available:
除了从"VirtualContControl"继承的方法,下面的是可用的:
contaminate signature(x = "data.frame",
contaminate <CODE>签名(X =“数据框”
show signature(object = "ContControl"): print the
showsignature(object = "ContControl"):打印
UML类图----------UML class diagram----------
A slightly simplified UML class diagram of the framework can be found in Figure 1 of the package vignette An Object-Oriented Framework for Statistical Simulation: The R Package simFrame. Use vignette("simFrame-intro") to view this vignette.
稍微简单的UML类图的框架,可以发现在图1的包小插曲统计模拟方法的一种面向对象的框架:R封装simFrame。使用vignette("simFrame-intro")查看这个小插曲。
注意----------Note----------
The slot grouping was named group prior to version 0.2. Renaming the slot was necessary since accessor and mutator functions were introduced in this version and a function named getGroup already exists.
插槽grouping被命名为group之前的0.2版本。重命名插槽是必要的,因为访问和修改功能在这个版本和一个名为getGroup已经存在的功能进行了介绍。
(作者)----------Author(s)----------
Andreas Alfons
参考文献----------References----------
Statistical Simulation: The R Package <code>simFrame</code>. Journal of Statistical Software, 37(3), 1–36. URL http://www.jstatsoft.org/v37/i03/.
参见----------See Also----------
"DCARContControl", "DARContControl", "VirtualContControl", contaminate
"DCARContControl","DARContControl","VirtualContControl",contaminate
实例----------Examples----------
showClass("ContControl")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|