R/lappend.R

Defines functions lappend

Documented in lappend

#' Append object to a list
#' @param lst List to be appended
#' @param obj Object
#' @author Alexander Kheirallah ([email protected]) 
#' @export

lappend <- function(lst, obj) {
  lst[[length(lst)+1]] <- obj
  return(lst)
}
msxakk89/dat documentation built on March 25, 2020, 3:18 p.m.