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

R语言 setRNG包 random.number.test()函数中文帮助文档(中英文对照)

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

                                        Test the random number generator
                                         测试的随机数发生器

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

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

Test the random number generator.
测试的随机数发生器。


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


    random.number.test()



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

Details

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

This function checks that the RNG is working properly and has not been changed. If the RNG does not return values as in previous versions of R then the function executes  stop(). Since changes to the RNG will cause comparisons of  simulation results to fail, this is a useful check before investigating more complicated problems that may be a result of other "improvements" in your simulation or estimation programs.
此功能检查的RNG正常工作的,并没有改变。如果RNG不返回在以前版本的R值,则该函数执行stop()。由于变化的RNG会导致仿真结果的比较失败,这是一个有用的检查之前调查的更复杂的问题,可能是由于其他“改善”在您的模拟或估计程序。


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

logical
逻辑


副作用----------Side Effects----------

Executes stop() if the tests fail.
执行stop(),如果测试失败。


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

set.seed RNGkind runif rnorm setRNG
set.seedRNGkindrunifrnormsetRNG


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


  random.number.test()

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-20 23:10 , Processed in 0.030862 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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