Description Details See Also Examples
Classes that are virtual and thus are not directly dealt
with by an opm user: WMD, WMDS,
FOE, OPMX and YAML_VIA_LIST
.
WMD is an acronym for ‘with metadata’.
This is a virtual class facilitating the management of
metadata. No objects can be created from it because
metadata without data make not much sense. It is used by
its child classes such as OPM
.
Conceptually, this class treats metadata as arbitrarily nested lists with arbitrary content. Containers of objects that inherit from this class are not forced to contain the same metadata entries. Problems might arise if such data are queried and attempted to be converted to, e.g., data frames because some values might be missing. But metadata can be queried beforehand for the keys as well as the values they contain, and other methods support setting, modifying and deleting metadata.
For OPM
and the other opm classes
that use it, ‘metadata’ refers to information
that, in contrast to, e.g., csv_data
must
be added by the user after reading
OmniLog(R)
CSV files. Metadata might already be present in
YAML files created by the opm package,
however.
WMDS is virtual class containing a collection of WMD objects (the name WMDS is just the plural of WMD). It shares many methods with WMD but they often return a collection of the return values of the according WMD method.
WMDX is the class union of WMD and WMDS.
FOE is an acronym for ‘formula or
expression’. This is a virtual class facilitating the
implementation of functionality for both formulae and
expressions. Methods defined for objects from the class
can be applied to either kind of object. See
metadata.set
and map_metadata
for usage examples.
OPMX stands for ‘OPM or
OPMS’. It is a virtual class containing helper
methods mainly for plotting OPM
and
OPMS
objects. See show
and
sort
for usage examples.
Similarly, XOPMX unifies OPMS
and
MOPMX
.
See to_yaml
for a usage example of
YAML_VIA_LIST
. This is a virtual class
facilitating the conversion to YAML format (or
its subset, JSON). It can currently be used by
any class that can be coerced to a list.
methods::Methods base::matrix base::array base::expression stats::formula
Other classes: MOPMX
, OPM
,
OPMA
, OPMA_DB
,
OPMD
, OPMD_DB
,
OPMS
, OPM_DB
,
OPM_MCP_OUT
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.