rstream.name-methods {rstream} | R Documentation |
Get and change the name for an "rstream" object in package rstream.
The name
is a character string that gives a user the
possibility to label an "rstream" object. Any name can be used.
rstream.name(stream) rstream.name(stream) <- value
stream |
an "rstream" object. |
value |
a character string that holds the label (name). |
Methods available for all "rstream" subclasses:
rstream.lecuyer-class
,
rstream.runif-class
.
## create a new rstream object (of subclass rstream.lecuyer) s <- new("rstream.lecuyer") ## set name of rstream object rstream.name(s) <- "mystream" ## get name of rstream object rstream.name(s)