Randomizer-class(randPack)
Randomizer-class()所属R语言包:randPack
Class "Randomizer" and "RandomizerDesc" plus their subclasses.
类“随机函数”和“RandomizerDesc”,加上其子类。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These classes form the infrastructure that can be used to create different randomizers for clinical trials or other similar treatment
这些类构成了基础设施,可用于创建不同的数据随机临床试验或其他类似的治疗
类的对象----------Objects from the Class----------
Both "Randomizer and "RandomizerDesc" are virtual classes and no objects may be created from them. Their various subclasses, "ForcedAlloc", "Random", "PermutedBlock" and "Urn" can be instantiated.
这两个“随机数发生器和”RandomizerDesc“虚拟教室和没有对象可以从他们创造的。他们的不同的子类,“ForcedAlloc”,“随机”,“PermutedBlock”和“金塔”可以被实例化。
插槽----------Slots----------
For "RandomizerDesc":
为“RandomizerDesc”:
treatments: A named integer vector. The names correspond to
treatments:命名整数向量。名称对应
type: The name of the randomizer, this will be set internally.
type:随机函数的名称,这将在内部设置。
For "Randomizer":
对于“随机函数”:
name: The name of the randomizer.
name:随机函数的名称。
treatmentTable: A named integer vector. The names
treatmentTable:命名整数向量。名称
stateVariables: An environment that is used to hold any
stateVariables:一个用来举办任何环境
方法----------Methods----------
coerce signature(from = "Randomizer", to = "Minimization"): ...
要挟signature(from = "Randomizer", to = "Minimization")...
作者(S)----------Author(s)----------
RG and VC
举例----------Examples----------
showClass("Randomizer")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|