powered by
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.
name
# S4 method for rstream rstream.name(stream) rstream.name(stream) <- value
an "rstream" object.
a character string that holds the label (name).
Methods available for all "rstream" subclasses: rstream.mrg32k3a, rstream.runif.
rstream.mrg32k3a
rstream.runif
Josef Leydold josef.leydold@wu.ac.at
rstream.
rstream
## create a new rstream object (of subclass rstream.mrg32k3a) s <- new("rstream.mrg32k3a") ## set name of rstream object rstream.name(s) <- "mystream" ## get name of rstream object rstream.name(s)
Run the code above in your browser using DataLab