as.keyvalue.list {decoder}R Documentation

Coerce a list to keyvalue object

Description

x should be a list with properties described in section "Details".

Usage

## S3 method for class 'list'
as.keyvalue(x, ...)

Arguments

x

a list with properties described in the details section.

...

further arguments passed to as.keyvalue.

Details

Value

The function returns an object of class keyvalue (and list.

See Also

as.keyvalue

Examples


ex <- list(
 fruit  = c("banana", "orange", "kiwi"),
 car    = c("SAAB", "Volvo", "taxi", "truck"),
 animal = c("elephant")
)
as.keyvalue(ex)
is.keyvalue(ex)


[Package decoder version 1.2.2 Index]