A Stack2 object is backed by a list. All manipulation is done in R, without calling out to any compiled code. The backing list will grow or shrink as the stack changes in size.
1 | Stack2(init = 20)
|
init |
Initial size of the list that backs the stack. 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.