Learn R Programming

Rvision (version 0.6.0)

dim.Rcpp_Stream: Dimensions of a Stream

Description

Retrieve the dimensions a Stream object.

Usage

# S3 method for Rcpp_Stream
dim(x)

Arguments

x

A Stream object.

Value

A vector with 2 values corresponding to the number of rows and columns of the stream (in this order).

See Also

Stream, stream

Examples

Run this code
# NOT RUN {
live <- stream(0)
sim(live)
release(live)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab