updateList: Update elements of a named list with elements of a second...

View source: R/misc-methods.R

updateListR Documentation

Update elements of a named list with elements of a second named list

Description

Defunct. Use utils::modifyList() (which can not handle NULL) or Require::modifyList2() for case with >2 lists and can handle NULL lists.

Usage

updateList(x, y)

Arguments

x

a named list

y

a named list

Value

A named list, with elements sorted by name. The values of matching elements in list y replace the values in list x.

Author(s)

Alex Chubaty


PredictiveEcology/SpaDES.core documentation built on April 17, 2024, 8:27 a.m.