updateList: Update a list's value using another list, by common names.

View source: R/definitions_magick.R

updateListR Documentation

Update a list's value using another list, by common names.

Description

Names of 'l2' present in 'l1' will update values in 'l1'.

Usage

updateList(l1, l2, only.common.names = T)

Arguments

l1

List to be updated (with the "original" or "old" values).

l2

List used for updating (with the "newer" values). Note: it needn't have all names

...

Arguments passed on to magickCell.

Details

Names of 'l2' absent in 'l1' will be ignored, unless 'only.common.names=F'.


gerbeldo/tidycell documentation built on Aug. 15, 2022, 2:35 p.m.