Learn R Programming

bazar (version 1.0.11)

nlist: Named lists

Description

Functions to construct, coerce and check for named lists.

Usage

nlist(...)

as.nlist(x, ...)

is.nlist(x)

Arguments

...

Named objects.

x

Object to be coerced or tested.

Value

A named list.

Examples

Run this code
# NOT RUN {
x <- nlist(x = 2, y = c("a", "b"))
is.nlist(x)

# }

Run the code above in your browser using DataLab