Learn R Programming

Rvision (version 0.6.0)

dim.Rcpp_Queue: Dimensions of a Queue

Description

Retrieve the dimensions a Queue object.

Usage

# S3 method for 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

Queue, queue

Examples

Run this code
# NOT RUN {
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
buf <- queue(balloon)
dim(buf)

# }

Run the code above in your browser using DataLab