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

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

[复制链接]
发表于 2012-9-30 01:32:39 | 显示全部楼层 |阅读模式
getRNG(setRNG)
getRNG()所属R语言包:setRNG

                                        get the RND and seed from an object
                                         得到的RND和种子的对象

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

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

Get the random number generator and seed used to generate an object.
获取用于生成对象的随机数发生器和种子。


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


    getRNG(e=NULL)
    ## Default S3 method:
getRNG(e=NULL)



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

参数:e
an object generated by simulation (which stored the RNG  information).
通过仿真生成的对象(其中存储的的RNG信息)。


Details

详细信息----------Details----------

Extract the RNG information used to generate the object. If e is NULL then getRNG returns the RNG setting, as  returned by setRNG(). Otherwise, the default method assumes the object is a list and the RNG information  is in the element rng or noise\$rng.
提取用于生成对象的RNG信息。如果e是NULLgetRNG返回RNG设置,返回setRNG()的。“否则,默认的方法假定对象是一个list和RNG信息的是在元素rng或noise\$rng的。


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

The random seed and other random number generation information
随机种子和其他的随机数生成信息


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

setRNG, .Random.seed
setRNG,.Random.seed


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


## Not run: [#不运行:]
if (require("dse")) {
  data("eg1.DSE.data.diff", package="dse")
  model <- estVARXls(eg1.DSE.data.diff)
  sim <- simulate(model)
  getRNG(sim)
  }

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 02:38 , Processed in 0.023871 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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