list_push {quickcode} | R Documentation |
Shorthand to add elements to a vector and save as the same name
list_push(., add)
. |
first list |
add |
list to add |
vector combining fist and second vector, but have name set to the first
num1 <- list(sample(330:400,10))
num2 <-list("rpkg.net")
list_push(num1, add= num2)