powered by
Coerces an object to an list. All attributes are removed except any names.
as_list(x, ...)# S3 method for default as_list(x, ...)
# S3 method for default as_list(x, ...)
A list.
An object.
Other arguments passed to methods.
as_list(1:3) as_list(c(x = 1, y = 2))
Run the code above in your browser using DataLab