View source: R/helper-functions.R
| cbuf | R Documentation |
Simple implementation of a circular buffer.
cbuf(b, v, e)
b |
The variable holding the current buffer content |
v |
The new valued to be added to b |
e |
The length of circular buffer |
The buffer b plus the element v minus the least recently added element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.