View source: R/get_rc_fld_vals.R
get_rc_fld_vals | R Documentation |
Retrieves a list of field values from an RC object, replacing any existing field values with those supplied.
get_rc_fld_vals(rc_obj, vals = NULL)
rc_obj |
An RC object. |
vals |
A list of fields to replace in |
A list of existing fields in rc_obj
with values replaced by
any field values supplied in vals
.
thing_factory <- setRefClass( "thing", fields = list(name = "character", value = "numeric") ) foofo <- thing_factory$new(name = "Flibberty Gibbet", value = 1e6) get_rc_fld_vals(foofo) get_rc_fld_vals(foofo, list(value = 25.6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.