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

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

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

                                        Simulate a model on a regular grid of times, using a function (closure) for advancing the state of the model
                                         模拟模型的规则网格的次数,使用的功能(关闭)用于推进的状态的模型

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

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

This function simulates single realisation of a model on a regular grid of times using a function (closure) for advancing the state of the model, such as created by StepGillespie or StepEulerSPN.
此功能实现的模型模拟单次使用的功能(关闭)为推动国家的模式,如创建StepGillespie或StepEulerSPN规则的网格。


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


simTs(x0,t0=0,tt=100,dt=0.1,stepFun,...)



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

参数:x0
The initial state of the process at time t0.
初始状态的过程在时间t0。


参数:t0
The initial time to be associated with the initial state x0. Defaults to 0.
要与初始状态x0相关联的初始时间。默认为0。


参数:tt
The terminal time of the simulation.
的终端时的仿真。


参数:dt
The time step of the output. Note that this time step relates only to the recorded output, and has no bearing on the accuracy of the simulation process.
输出的时间步长。请注意,这个时间步长只涉及到所记录的输出,并具有的精度没有影响的仿真过程。


参数:stepFun
A function (closure) for advancing the state of the process, such as produced by StepGillespie or StepEulerSPN.
推进过程中的状态(关闭)的功能,如StepGillespie或StepEulerSPN。


参数:...
Additional arguments will be passed to stepFun.
其他参数将被传递给stepFun。


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


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

StepEulerSPN, StepGillespie,
StepEulerSPN,StepGillespie,


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


# load the LV model[加载LV模型]
data(spnModels)
# create a stepping function[创建一个步进功能]
stepLV = StepGillespie(LV)
# simulate a realisation of the process and plot it[模拟的过程,并画出它的实现]
out = simTs(c(x1=50,x2=100),0,100,0.1,stepLV)
plot(out)
plot(out,plot.type="single",lty=1:2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-29 04:24 , Processed in 0.028750 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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