powered by
Expose a property of xpdb objects in an xpose_set
expose_property(xpdb_s, ..., .problem = NULL, .subprob = NULL, .method = NULL)
An xpose_set object with the properties exposed
xpose_set
<xpose_set> An xpose_set object
<dynamic-dots> One or more properties to expose
dynamic-dots
<numeric> Problem number to apply this relationship.
numeric
The property returned will be top-level, and to avoid conflicting names will be prepended by .. (e.g., ..descr).
..
..descr
For some properties, transformations are applied automatically to make them more useful. This includes:
etashk and epsshk: transformed to numeric vectors as in <get_shk>
etashk
epsshk
get_shk
ofv and other per-problem properties: transformed as needed and pulls from each xpdb default problem.
ofv
xpdb
expose_param()
xpdb_set <- expose_property(xpdb_set, descr) xpdb_set$mod1$..descr xpdb_set <- expose_property(xpdb_set, etashk) xpdb_set$mod1$..etashk
Run the code above in your browser using DataLab