update_list: Modify a list

Description Usage Arguments Examples

Description

Modify a list

Usage

1
update_list(`_data`, ...)

Arguments

_data

A list.

...

New values of a list. Use NULL to remove values. Use a formula to evaluate in the context of the list values.

Examples

1
2
3
x <- list(x = 1:10, y = 4)
update_list(x, z = 10)
update_list(x, z = ~ x + y)


Search within the purrr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.