Description Public fields Methods
A push/pop capable vector
A push/pop capable vector
values
A vector of values
new()
Create a pvector
pvector$new(values = c())
values
A vector of values
A new pvector
print()
Print pvector
pvector$print()
NULL
length()
Get length of pvector
pvector$length()
An integer
pop()
Pop vector
pvector$pop()
Popped value
push()
Push values
pvector$push(pushed.values)
pushed.values
A vector of values
NULL
clone()
The objects of this class are cloneable with this method.
pvector$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.