dim.Rcpp_Queue: Dimensions of a Queue

View source: R/QueueClass.R

dim.Rcpp_QueueR Documentation

Dimensions of a Queue

Description

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).

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Queue, queue

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
buf <- queue(balloon)
dim(buf)


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