Description Usage Arguments Details Value Examples
View source: R/f1.rbsb2.code.r
This function transforms a list comprising the necessary components
into a /daf/ object. The components of the list must be either the
direct transcription of the slot hierarchy of /daf/ or (shortened
way) a component named daf
comprising a character(3)
with des@name
, what
and valu
slots.
1 | list2daf(li)
|
li |
The list to be transformed into a /daf/. |
The list li
can comprise more components which are ignored. If
li$daf
exists, it will have priority over the possible slot
components.
returns the resulting /daf/ object.
1 2 3 4 5 6 7 8 9 10 11 12 | rbsb3k("RESET"); # needed only for R checking, to be forgotten
lu <- daf2list(new("daf", des=new("des", name="rbsb",
orig=paste("Created by rebastaba"),
time=date(),
defi="prototype",
role=character(0),
comm=character(0)),
what="d",
valu="rbsb.dfr0"));
list2daf(lu);
list2daf(list(daf=c("simple", "d", "rbsb.dfr0")));
list2daf(rbsb.lis0);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.