list_remove {listr}R Documentation

Remove elements from a list.

Description

Remove elements from a list.

Usage

list_remove(in_list, ...)

Arguments

in_list

The list to remove elements from.

...

Names or numeric positions of elements to remove.

Value

The list with the specified elements removed.

Examples

my_list <- list(a = rnorm(10), b = rnorm(10), c = rnorm(10))
list_remove(my_list, b)

[Package listr version 0.1.0 Index]