lappend: Simple list append tool

Description Usage Arguments Value Author(s) Examples

Description

Append an item to a list , creating a new list or combine two lists

Usage

1
mynewlist<-lappend( mylist, myitem  )

Arguments

inlist

list to which you will append the 2nd item

myitem

to be added to the list

Value

outputs the appended list

Author(s)

Avants BB, the internet

Examples

1
2
3
4
5
6
7
## Not run: 
mat<-replicate(100, rnorm(20)) 
mat2<-replicate(100, rnorm(20))
mylist<-list(mat)
mylist<-lappend( mylist, mat2 ) 

## End(Not run)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.