Methods for Function rstream.name in Package ‘rstream’
方法函数rstream.name在包rstream“
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get and change the name for an "rstream" object in package rstream.
在包rstream获取和更改的的“rstream”对象的名称。
The name is a character string that gives a user the possibility to label an "rstream" object. Any name can be used.
name是一个字符串,给出了一个用户的的“rstream”对象标签的可能性。任何名称都可以使用。
用法----------Usage----------
## S4 method for signature 'rstream'
rstream.name(stream)
rstream.name(stream) <- value
参数----------Arguments----------
参数:stream
an "rstream" object.
的“rstream”对象。
参数:value
a character string that holds the label (name).
一个字符串,它拥有的标签(名称)。
方法----------Methods----------
Methods available for all "rstream" subclasses: rstream.mrg32k3a, rstream.runif.
方法提供所有rstream“子类:rstream.mrg32k3a,rstream.runif。
(作者)----------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")
## set name of rstream object[#设置名称rstream对象]
rstream.name(s) <- "mystream"
## get name of rstream object[#rstream对象的名称]
rstream.name(s)