Methods for Function rstream.clone in Package ‘rstream’
方法函数rstream.clone在包rstream“
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Make a copy (clone) of an "rstream" object in package rstream.
请复制(克隆)的的“rstream”对象的套件“rstream。
"rstream" objects cannot simply be copied by <-. The new variable does not hold a copy of an "rstream" object but just points to the old object which might not be the wanted result (similar to R environments). To get a copy of the whole "rstream" object the clone method must be used.
不能简单地复制<-“rstream”的对象。新的变量不持有一个的“rstream”的对象的副本,但只是点到老的对象,这可能不是所希望的结果(类似的R环境)。为了得到一个复制的的整个“rstream”对象的clone方法,必须使用。
用法----------Usage----------
## S4 method for signature 'rstream'
rstream.clone(stream)
参数----------Arguments----------
参数:stream
an "rstream" object.
的“rstream”对象。
方法----------Methods----------
Methods available for all "rstream" subclasses: rstream.mrg32k3a, rstream.runif.
方法提供所有rstream“子类:rstream.mrg32k3a,rstream.runif。
注意----------Note----------
The label (name) of the new copy has a dot "." appended to distinguish the original object from its copy.
新副本的标签(名称)有一个点“。”附加区分原始对象的副本。
(作者)----------Author(s)----------
Josef Leydold <a href="mailto:josef.leydold@wu.ac.at">josef.leydold@wu.ac.at</a>
参见----------See Also----------
rstream.
rstream。
实例----------Examples----------
## create a new rstream object (of subclass rstream.mrg32k3a)[#创建新rstream对象(子类rstream.mrg32k3a的)]
s <- new("rstream.mrg32k3a")
## make a copy (clone)[#一个复制(克隆)]
clone <- rstream.clone(s)