add: Add a value to the queue

Description Usage Arguments Value Examples

View source: R/qfifo.R

Description

Add a value to the queue

Usage

1
add(q, val)

Arguments

q

is the current fifo queue object

val

is the value to be added to the queue

Value

The updated queue object

Examples

1
2
q <- qfifo()
q <- add(q,1234)

vnnishith/qfifo documentation built on May 17, 2019, 10:12 a.m.