unuran-class(Runuran)
unuran-class()所属R语言包:Runuran
Class "unuran" – Universal Non-Uniform RANdom variate generators
“unuran类” - 通用的非均匀分布的随机变量发生器
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The class unuran provides an interface to the UNU.RAN library for universal non-uniform random number generators. It uses the R built-in uniform random number generator.
类unuran普遍的非均匀分布的随机数生成器提供了一个接口的UNU.RAN库。它使用内置的均匀随机数生成的R。
[Advanced] – UNU.RAN generator object.
[高级] - UNU.RAN生成器对象。
类对象----------Objects from the Class----------
Objects can be created by calls of the form new("unuran", distribution, method).
可以创建对象通过调用的形式new("unuran", distribution, method)。
distribution: A character string that describes the target distribution (see UNU.RAN User Manual) or one of the S4 classes unuran.cont, unuran.discr, or unuran.cmv
分布:一个字符串,它描述了目标分布(见UNU.RAN用户手册)或S4类unuran.cont,unuran.discr或unuran.cmv的
method: A character string that describes the chosen generation method, see UNU.RAN User Manual. If omitted method
方法:一个字符串,它描述了选择的生成方法,请参阅,UNU.RAN用户手册。如果省略方法
See unuran.new for short introduction and examples for this interface.
见unuran.new简短的介绍和示例这个接口。
方法----------Methods----------
The class unuran provides the following methods for handling objects:
类unuran为处理对象提供了以下方法:
ur signature(object = "unuran"):
你的signature(object = "unuran"):
r signature(object = "unuran"):
Rsignature(object = "unuran"):
initialize signature(.Object = "unuran"):
初始化signature(.Object = "unuran"):
print signature(x = "unuran"):
打印signature(x = "unuran"):
show signature(x = "unuran"):
显示signature(x = "unuran"):
警告----------Warning----------
unuran objects cannot be saved and restored in later R sessions, nor is it possible to copy such objects to different nodes in a computer cluster.
unuran对象不能被保存,并在以后的R会话恢复,也不是这样的对象可以复制到计算机聚类中的不同节点。
However, unuran objects for some generation methods can be “packed”, see unuran.packed. Then these objects can be handled like any other R object (and thus saved and restored).
然而,unuran一些生成方法的对象可以是“打包”,看到unuran.packed。像任何其他的R对象,那么这些对象可以处理(从而保存和恢复)。
All other objects <STRONG>must</STRONG> be <STRONG>newly created</STRONG> in a new R session! (Using a restored object does not work as the unuran is then broken.)
所有其他对象<STRONG>的</ STRONG>是<strong>新创建</ STRONG>在一个新的R会话! (使用还原的对象不工作,然后分解unuran)。
注意----------Note----------
The interface has been changed compared to the DSC 2003 paper.
该接口已被改变相比,在DSC 2003纸张。
(作者)----------Author(s)----------
Josef Leydold and Wolfgang H\"ormann
<a href="mailto:unuran@statmath.wu.ac.at">unuran@statmath.wu.ac.at</a>.
参考文献----------References----------
UNU.RAN User Manual, see http://statmath.wu.ac.at/unuran/.
Automatic Nonuniform Random Variate Generation. Springer-Verlag, Berlin Heidelberg
Automatic Nonuniform Random Variate Generation in R. In: K. Hornik and F. Leisch, Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), March 20–22, Vienna, Austria.
参见----------See Also----------
unuran.new and ur for faster creation and sampling routines, unuran.details for a more verbose version of show.
unuran.new和ur更快的创建和采样例程,unuran.details更详细的show版本的。
unuran.packed allows to pack some unuran objects.
unuran.packed收拾一些unuran对象。
For distribution objects see unuran.cont, unuran.discr, and unuran.cmv.
分布对象unuran.cont,unuran.discr和unuran.cmv。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|