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

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

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

                                         Execute a Simile model to a given time point
                                         执行一个比喻模型给定的时间点

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

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

The model will be executed using the time steps specified by earlier calling set.model.step until either the finish.time is reached or an exception occurs.
该模型将执行指定的时间步长的早期调用set.model.step,直至finish.time达到或发生异常。


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


execute.model(instance.handle, finish.time, integration.method,



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

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


参数:finish.time
Time returned by functions in the model on the last execution step, when incrementing the time takes it to or beyond this value.   
返回的函数模型中的最后执行步骤的时间,当递增或超过此值。


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


参数:start.time
Time returned by functions in the model on the first execution step. On each subsequent step this will be incremented by the value specified by earlier calling set.model.step. Default is NA, which starts the model at the time to which it was previously reset or executed.  
返回的时间函数模型中的第一次执行步骤。在每一个后续步骤,这将增加指定的值由早期的呼叫set.model.step。默认值是NA,模型在开始的时候,这是以前复位或执行。


参数:error.limit
Maximum integration error allowed by adaptive step size variation, as a fraction of the allowed range of each model compartment value. The integration error is estimated by comparing each compartment's rate of change with that predicted on the previous time step (equal to its previous rate of change if integration method is Euler). If error limit is exceeded, the time step is temporarily shortened and the model re-executed from the end of the last time step. Default is 0, in which case no adaptive step size variation is done.
自适应步长变化最大的集成度允许误差,为每个模型舱值的允许范围内的一小部分。积分误差估计通过比较每个隔室的变化率与先前时间步长(等于到其以前的变化率,如果集成方法是欧拉)预测。如果误差极限被超过时,暂时缩短的时间步长和模型重新执行从最后一次步骤的结束。默认为0,在这种情况下,是没有自适应步长变化。


参数:pause.on.event
Reserved for future Simile versions with discrete event handling. Default is FALSE.
保留供未来的比喻版本,离散事件处理。默认值是false。


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

Result code: value of system error (-ve), user-defined interruption (+ve) or 0 if model runs to finish.time     
结果代码:值的系统误差(VE),用户自定义的中断(+ VE)或0如果模式运行finish.time


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



Jasper Taylor


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 15:08 , Processed in 0.023902 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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