SimResults-class(simFrame)
SimResults-class()所属R语言包:simFrame
Class "SimResults"
类“SimResults”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Class for simulation results.
一类为仿真结果。
类对象----------Objects from the Class----------
Objects can be created by calls of the form new("SimResults", ...) or SimResults(...).
可以创建对象通过调用的形式new("SimResults", ...)或SimResults(...)。
However, objects are expected to be created by the function runSimulation or clusterRunSimulation, these constructor functions are not supposed to be called by the user.
插槽----------Slots----------
values: Object of class "data.frame" containing the
add: Object of class "list" containing additional
add:对象类"list"包含额外的
design: Object of class "character" giving the variables (columns) defining the domains used in the simulation
design:类对象的"character"给变量(列)定义在模拟中使用的域
colnames: Object of class "character" giving the names of the columns of values that contain the actual simulation
colnames:类的对象"character"给的名字列values包含实际的模拟
epsilon: Object of class "numeric" containing the
epsilon:类的对象"numeric"包含
NArate: Object of class "NumericMatrix" containing the
NArate:类的对象"NumericMatrix"包含
dataControl: Object of class "OptDataControl"; the control object used for data generation in model-based simulation, or
dataControl:类的对象"OptDataControl";在基于模型的模拟数据生成的控制对象,或
sampleControl: Object of class "OptSampleControl"; the control object used for sampling in design-based simulation, or
sampleControl:类的对象"OptSampleControl";用于采样的设计为基础的模拟,控制对象或
nrep: Object of class "numeric" giving the number of repetitions of the simulation experiment (for model-based simulation or
nrep:类的对象"numeric"给一些重复的模拟实验(基于模型的模拟或
control: Object of class "SimControl"; the control
control:对象类"SimControl";控制
seed: Object of class "list" containing the seeds of the random number generator before and after the simulation experiment,
seed:对象类"list"的模拟实验前后的随机数生成器的种子,
call: Object of class "SimCall"; the function call
call:类"SimCall";函数调用的对象
存取方法----------Accessor methods----------
getValues signature(x = "SimResults"): get slot
getValuessignature(x = "SimResults"):得到插槽
getAdd signature(x = "SimResults"): get slot
getAddsignature(x = "SimResults"):得到插槽
getDesign signature(x = "SimResults"): get slot
getDesignsignature(x = "SimResults"):得到插槽
getColnames signature(x = "SimResults"): get slot
getColnamessignature(x = "SimResults"):得到插槽
getEpsilon signature(x = "SimResults"): get slot
getEpsilonsignature(x = "SimResults"):得到插槽
getNArate signature(x = "SimResults"): get slot
getNAratesignature(x = "SimResults"):得到插槽
getDataControl signature(x = "SimResults"): get slot
getDataControlsignature(x = "SimResults"):得到插槽
getSampleControl signature(x = "SimResults"): get slot
getSampleControlsignature(x = "SimResults"):得到插槽
getNrep signature(x = "SimResults"): get slot
getNrepsignature(x = "SimResults"):得到插槽
getControl signature(x = "SimResults"): get slot
getControlsignature(x = "SimResults"):得到插槽
getSeed signature(x = "SimResults"): get slot
getSeedsignature(x = "SimResults"):得到插槽
getCall signature(x = "SimResults"): get slot
getCallsignature(x = "SimResults"):得到插槽
方法----------Methods----------
aggregate signature(x = "SimResults"): aggregate
aggregatesignature(x = "SimResults"):总
head signature(x = "SimResults"): returns the first
“headsignature(x = "SimResults"):返回第一个
plot signature(x = "SimResults", y = "missing"): selects a suitable graphical representation of the simulation results
plotsignature(x = "SimResults", y = "missing"):选择一个合适的图形表示的仿真结果
show signature(object = "SimResults"): print
showsignature(object = "SimResults"):打印
simBwplot signature(x = "SimResults"): conditional
simBwplotsignature(x = "SimResults"):条件
simDensityplot signature(x = "SimResults"):
simDensityplotsignature(x = "SimResults"):
simXyplot signature(x = "SimResults"): conditional x-y
simXyplotsignature(x = "SimResults"):有条件的X-ý
summary signature(x = "SimResults"): produce a summary
summarysignature(x = "SimResults"):产生一个总结
tail signature(x = "SimResults"): returns the last
tailsignature(x = "SimResults"):返回最后一个
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----------
There are no mutator methods available since the slots are not supposed to be changed by the user.
客人没有mutator方法可用,因为槽不应该由用户改变。
Furthermore, the slots dataControl, sampleControl, nrep and control were added in version 0.3.
此外,插槽dataControl,sampleControl,nrep和control增加了0.3版。
(作者)----------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----------
runSimulation, simBwplot, simDensityplot, simXyplot
runSimulation,simBwplot,simDensityplot,simXyplot
实例----------Examples----------
showClass("SimResults")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|