add.list: add.list function

View source: R/lgcpMethods.R

add.listR Documentation

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


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.