ids: Extract ids from a List of Objects

View source: R/ids.R

idsR Documentation

Extract ids from a List of Objects

Description

None.

Usage

ids(xs)

Arguments

xs

(list())
Every element must have a slot 'id'.

Value

(character()).

Examples

xs = list(a = list(id = "foo", a = 1), bar = list(id = "bar", a = 2))
ids(xs)

mlr3misc documentation built on June 25, 2024, 1:07 a.m.