as.keyvalue.list: Coerce a list to keyvalue object

Description Usage Arguments Details Value See Also Examples

View source: R/as.keyvalue.list.R

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
7
ex <- list(
 fruit  = c("banana", "orange", "kiwi"),
 car    = c("SAAB", "Volvo", "taxi", "truck"),
 animal = c("elephant")
)
as.keyvalue(ex)
is.keyvalue(ex)

decoder documentation built on April 22, 2020, 5:07 p.m.