Description Usage Arguments Details Value See Also
View source: R/as.rpqueue.default.R
Default method for converting to an rpqueue.
1 2 | ## Default S3 method:
as.rpqueue(x, ...)
|
x |
the input to convert to an rpqueue. |
... |
arguments to be passed to or from other methods (ignored). |
Elements from the input (of any type) are first converted to a list with as.list
,
after this an rpqueue of the appropriate size is created holding the elements. The element at x[[1]]
becomes the front of the rpqueue. Runs in time O(n).
a filled rpqueue
.
rpqueue
for info about rpqueues, as.rpqueue
for the generic function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.