50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

lgcp (version 1.8)

add.list: add.list function

Description

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

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]]