dim.Rcpp_Stream: Dimensions of a Stream

View source: R/StreamClass.R

dim.Rcpp_StreamR Documentation

Dimensions of a Stream

Description

Retrieve the dimensions a Stream object.

Usage

## S3 method for class '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).

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Stream, stream

Examples

## Not run: 
live <- stream(0)
sim(live)
release(live)

## End(Not run)


swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.