First-In First Out utility function inserts a
new value inval
into a given sequential vector
x
, dropping the last value of the sequence
FIFO(x, inval)
a vector;
new input value for vector x of the same
mode as vector
A new vector x
# NOT RUN {
FIFO(1:10, 11)
FIFO(LETTERS[1:10], letters[1])
# }
Run the code above in your browser using DataLab