Learn R Programming

lgcp (version 1.0)

add.list: add...

Description

add.list function

Usage

add.list(list1, list2)

Arguments

list1
a list of objects that could be summed using "+"
list2
a list of objects that could be summed using "+"

Value

  • a list with ith entry the sum of list1[[i]] and list2[[i]]

Details

This function adds the elements of two list objects together and returns the result in another list object.