Learn R Programming

mlr3misc (version 0.3.0)

ids: 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

Run this code
# NOT RUN {
xs = list(a = list(id = "foo", a = 1), bar = list(id = "bar", a = 2))
ids(xs)
# }

Run the code above in your browser using DataLab