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

R语言 Simile包 reset.model()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:50:49 | 显示全部楼层 |阅读模式
reset.model(Simile)
reset.model()所属R语言包:Simile

                                         resets the model to its initial state.
                                         复位到其初始状态的模型。

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

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

A Simile model instance must be reset before it is first run, whenever the parameters are changed, and in order to run it again with new values for random constants.
一个比喻模型实例必须被复位之前,先运行,只要改变参数,并以新的随机常数的值再次运行它。


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





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

参数:instance.handle
The handle returned by create.model(), identifying an executable model instance.  
返回的句柄由create.model(),确定一个可执行的模型实例。


参数:depth
Simile does a sort of 'lazy execution', with values being left untouched if they do not need to be recalculated for a given type of reset. This argument tells it what to reset, with each action including those that follow it:     
比喻做了的排序“偷懒执行”,值保持不变,如果他们不给定类型的复位需要重新计算。这个参数告诉它如何重设,包括那些跟在它后面的每一个动作:

-2Recalculate constant atrithmetic expressions including numerals  
-  2Recalculate不变atrithmetic表达式,包括数字

-1Recalculate values that depend on fixed parameters  
-  1Recalculate依赖于固定的参数值

0Recalculate random constants and set state variables to their initial values  
0Recalculate随机常数,并设置状态变量的初始值

+veRecalculate rate variables from the current state values at this time step     
+ veRecalculate率在这个时间步长的值从当前状态的变量


参数:integration.method
One of "Euler" or "Runge-Kutta", the latter being 4th-order. Default is "Euler".  
“欧拉”或“的Runge-Kutta”之一,后者是四阶。默认值是“欧拉”。


参数:starting.time
Value for model time after resetting. Used for indexing time series, time plots etc in the model. Default is 0.   
复位后的模型时的价值。用于分度时间序列,图等的模型。默认为0。


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

None     



(作者)----------Author(s)----------



Jasper Taylor




实例----------Examples----------





reset.model(instance.handle, -2)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 17:27 , Processed in 0.026672 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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