Description Usage Arguments Value Examples
VarBundle objects store read-only variables in a list-like
structure. Variable values can be accessed via the '$' operator
(vb$foobar
) or via field name(vb[["foobar"]]
).
After a VarBundle object has been created, new fields cannot be added
and existing field values cannot be modified.
Field names can be accessed via field_names
.
Simple VarBundle objects that only contain atomic, scalar values are
useful for storing configuration information. The object method
$as.data.frame()
will return a data.frame version of the VarBundle.
This can be persisted to disk and subsequently modified by the end user
to change system parameters.
1 | varbundle(x)
|
x |
(list or data.frame) |
(VarBundle)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.