Last chance! 50% off unlimited learning
Sale ends in
Prepend elements to a list
list.prepend(.data, ...)
A list
or vector
The vector
or list
to prepend before x
# NOT RUN {
x <- list(a=1,b=2,c=3)
list.prepend(x, d=4, e=5)
list.prepend(x, d=4, f=c(2,3))
# }
Run the code above in your browser using DataLab