rstream.name-methods: Methods for Function rstream.name in Package 'rstream'

Description Usage Arguments Methods Author(s) See Also Examples

Description

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.

Usage

1
2
3
## S4 method for signature 'rstream'
rstream.name(stream)
rstream.name(stream) <- value

Arguments

stream

an "rstream" object.

value

a character string that holds the label (name).

Methods

Methods available for all "rstream" subclasses: rstream.mrg32k3a, rstream.runif.

Author(s)

Josef Leydold [email protected]

See Also

rstream.

Examples

1
2
3
4
5
6
7
8
## 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)

rstream documentation built on June 21, 2017, 5:02 p.m.