list_push {quickcode} | R Documentation |
Add elements to a list like array_push in PHP
Description
Shorthand to add elements to a vector and save as the same name
Usage
list_push(., add)
Arguments
. |
first list |
add |
list to add |
Value
vector combining fist and second vector, but have name set to the first
Examples
num1 <- list(sample(330:400,10))
num2 <-list("rpkg.net")
list_push(num1, add= num2)
[Package quickcode version 0.9.1 Index]