lappend: Add object to a list

Description Usage Arguments Details Value Examples

View source: R/functions_useful.R

Description

This function adds objects to the end of a list

Usage

1
lappend(lst, obj, listname)

Arguments

lst

a list to which object is added

obj

an object which is added

listname

name of the added object as it appers in the list

Details

As the list can contain miscellaneous variable types, this function should also work regardless of the variable type. No thorough tests are done, however.

Value

the original list with the object added

Examples

1
2
all_station_lists <- lappend(all_station_lists,loaded_list$wmon,
"mos_stations_homogeneous_Europe")

jylhaisi/post-processing-mos-point-utils documentation built on April 9, 2018, 8:19 p.m.