Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rstream.name-methods

Methods for Function rstream.name in Package ‘rstream’


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

## 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)

See Also

Examples

## 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

Streams of Random Numbers

v1.3.6
GPL-2
Authors
Josef Leydold <josef.leydold@wu.ac.at>
Initial release
2020-02-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.