print.rpqueue {rstackdeque}R Documentation

Print an rpqueue

Description

Prints a summary of the contents of an rpqueue, including the number of elements and the first few.

Usage

## S3 method for class 'rpqueue'
print(x, ...)

Arguments

x

the rpqueue to print.

...

additional arguments to be passed to or from methods (ignored).

Details

Since only the first few elements are detailed, runs in O(1) time.

See Also

as.list.rpqueue for converting an rpqueue into a list which can then be printed in full.


[Package rstackdeque version 1.1.1 Index]