A Queue2 object is backed by a list, which is used in a circular manner. All manipulation is done in R, without calling out to any compiled code. The backing list will grow or shrink as the queue changes in size.
1 | Queue2(init = 20)
|
init |
Initial size of the list that backs the queue. This is also used as the minimum size of the list; it will not shrink any smaller. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.