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

R语言 SoDA包 simulationResult()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:24:26 | 显示全部楼层 |阅读模式
simulationResult(SoDA)
simulationResult()所属R语言包:SoDA

                                         Create a simulation result, including first and last state
                                         创建的仿真结果,其中包括第一和最后的状态

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

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

The class "simulationResult" and the function of the same name record an arbitrary simulation result, along with the state of the random number generators at the start and at the end of the simulation, allowing trustworthy verification or repetition of the simulation.
类"simulationResult"和功能相同的名称记录任意的仿真结果,随着状态的随机数生成器,在开始和结束时的仿真,允许可信赖的验证或重复的仿真。


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



simulationResult(value, seed)

resetSeed(object, last = FALSE)



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

参数:value
The simulation to be done and saved.  
做仿真和保存。


参数:seed
Optionally, the argument to set.seed(), to set the first state of the generator.  If omitted, the generator should have been initialized before the call, and the current value of .Random.seed will be used.
可选的,参数set.seed(),设置第一个状态的发电机。如果省略,发生器应被初始化之前调用,将被使用的当前值.Random.seed。


参数:object
An object from the "simulationResult" class, usually from a call to the simulationResult() function.  
从"simulationResult"类,从调用simulationResult()功能的通常的对象。


参数:last
Optional flag, if TRUE, then the generator is reset from the last state of object, otherwise from the first.  
可选的标志,如果TRUE,则发电机是从最后一个状态的object复位,否则从第一个。


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

Function simulationResult returns an object of that class, with the expr and result slots set to the unevaluated and evaluated version of the value argument.
功能simulationResult返回一个该类的对象,expr和result插槽设置的value参数未评估和评价。


插槽----------Slots----------




firstState, lastState: Objects of class "randomGeneratorState", containing the state of the generator before and after the simulation.
firstState,lastState:类的对象"randomGeneratorState",含有的发电机的状态之前和之后的模拟。




expr: The expression evaluated to produce the simulation.
expr:评估,以产生模拟的表达。




result: The object returned by the simulation.
result:模拟返回的对象。


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

randomSlippage
randomSlippage

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 01:54 , Processed in 0.025620 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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