Skip to contents

nrow, ncol and nframes return the number of rows, columns or frames present in a Queue object.

Usage

nrow.Rcpp_Queue(x)

ncol.Rcpp_Queue(x)

# S3 method for Rcpp_Queue
length(x)

Arguments

x

A Queue object.

Value

A numeric value.

See also

dim which returns all dimensions.

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
nrow(buf)
#> Error in eval(expr, envir, enclos): object 'buf' not found
ncol(buf)
#> Error in eval(expr, envir, enclos): object 'buf' not found
length(buf)
#> Error in eval(expr, envir, enclos): object 'buf' not found