as.stream: Converts a character vector to an object of class "stream"

Description Usage Arguments Value Methods (by generic) Author(s) Examples

View source: R/as.stream.R

Description

Converts a character vector to an object of class "stream"

Usage

1
2
3
4
as.stream(obj)

## S3 method for class 'stream'
print(x, ...)

Arguments

obj

The character vector to be converted to a "stream" object

x

The "stream" object to be printed.

...

Ignored

Value

The same character vector, only it now inherits from class "stream"

Methods (by generic)

Author(s)

Landon Sego

Examples

1
2
3
4
5
aStream <- c("string1", "string2", "string3")
aStream

# Note how it prints after we convert it to a stream object:
as.stream(aStream)

pnnl/rsed documentation built on May 25, 2019, 10:23 a.m.