Skip to contents

Retrieve the dimensions a Queue object.

Usage

# S3 method for class 'Rcpp_Queue'
dim(x)

Arguments

x

A Queue object.

Value

A vector with 3 values corresponding to the number of rows, columns and length of the queue (in this order).

See also

Author

Simon Garnier, garnier@njit.edu

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
buf <- queue(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found
dim(buf)
#> Error in eval(expr, envir, enclos): object 'buf' not found