Methods for Function rstream.resetsubstream and
为功能rstream.resetsubstream和方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Some subclasses have implmented the concept of substreams. This is especially usefull if two or more streams should be synchronized.
一些子类implmented的子流的概念。这是特别有用的,如果两个或两个以上的数据流应同步。
This interface allows to jump to the beginning of the next substream and to reset the stream object to the beginning of the current substream.
该接口允许跳转到下一个子开始并重置流对象的当前子流的开头。
用法----------Usage----------
## S4 method for signature 'rstream'
rstream.resetsubstream(stream)
## S4 method for signature 'rstream'
rstream.nextsubstream(stream)
参数----------Arguments----------
参数:stream
an "rstream" object.
的“rstream”对象。
方法----------Methods----------
Methods available for the following "rstream" subclasses: rstream.mrg32k3a.
方法可用于下面的“rstream”子类:rstream.mrg32k3a。
(作者)----------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")
## jump to beginning of next substream[#跳转到下一个子开始]
rstream.nextsubstream(s)
## generate a sample[#生成一个样本]
x <- rstream.sample(s,10)