openmi.om.matrix | R Documentation |
The base class for matrix/lokup table meta-model components.
The base class for matrix/lokup table meta-model components.
R6 class of type openmi.om.matrix
openmi.om::openmi.om.base
-> openmi.om::openmi.om.linkableComponent
-> openmi.om.matrix
datamatrix
holds the actual table
colindex
holds the column lookup variable name (ustabe keycol1)
rowindex
holds the column lookup variable name (ustabe keycol2)
coltype
holds the column lookup type (ustabe lutype1)
rowtype
holds the row lookup type (ustabe lutype2)
set_prop()
openmi.om.matrix$set_prop(propname, propvalue, format = "raw")
propname
which attribute
propvalue
what value
format
of propvalue
NA
parse_class_specific()
openmi.om.matrix$parse_class_specific(propvalue)
propvalue
from some custom classformat reading implementation
a settable data value
update()
update does the lookup
openmi.om.matrix$update()
NULL
findMatch()
findMatch looks into a single dimension table
openmi.om.matrix$findMatch(dm, ixval, ixtype = 0)
dm
array to search
ixval
key to search for
ixtype
what kind of lookup to perform?
matching value (with interpolation if ixtype allows it)
exactMatch()
exactMatch looks for keys
openmi.om.matrix$exactMatch(dm, ixval, rectype = "row")
dm
array to search
ixval
key to search for
rectype
what kind of array is dm?
matching value
interpolate()
interpolate searches by key and calculates if no exact match
openmi.om.matrix$interpolate(dm, ixval)
dm
array to search
ixval
key to search for
interpolated value
stairStep()
stairStep searches by key and select closest previous
openmi.om.matrix$stairStep(dm, ixval)
dm
array to search
ixval
key to search for
closest value
window()
window does what???
openmi.om.matrix$window(dm, ixval, ixoff)
dm
array to search
ixval
key to search for
ixoff
index offset
calculated value
closest()
closest select closest value
openmi.om.matrix$closest(dm, ixval)
dm
array to search
ixval
key to search for
closest value
init()
init sets up for viewing or run
openmi.om.matrix$init()
NULL
clone()
The objects of this class are cloneable with this method.
openmi.om.matrix$clone(deep = FALSE)
deep
Whether to make a deep clone.
NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.