Learn R Programming

rlist (version 0.4.5.1)

list.append: Append elements to a list

Description

Append elements to a list

Usage

list.append(.data, ...)

Arguments

.data
A list or vector
...
A vector or list to append after x

See Also

list.prepend, list.insert

Examples

Run this code
x <- list(a=1,b=2,c=3)
list.append(x,d=4,e=5)
list.append(x,d=4,f=c(2,3))

Run the code above in your browser using DataLab