list2des: transforms a consistent list into a /des/ object

Description Usage Arguments Value Examples

View source: R/f1.rbsb2.code.r

Description

Just analyzing the components of the list (consistent names have to be used) which are supposed to be character and tackle them to produce consistent slots of a /des/ object. The components of the list must be either the direct transcription of the slots of /des/ or a component named des comprising a character(1:Inf) with des@name, des@orig, des@time, des@defi,des@role,des@comm in this order.

Usage

1

Arguments

li

The list to be transformed into a des object.

Value

The generated 'des' object

Examples

1
2
3
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 print(list2des(list(name="A", role="Just to see", comm="Not very interesting")));
 print(list2des(list(des=c("A", "", "", "", "Just to see", "Not very interesting"))));

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to list2des in rbsb...