Skip to contents

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)