evaluate.utility.endnode.firstavail {utility} | R Documentation |
Evaluate Node and Associated Hierarchy
Description
Calculate values or utilities at the node for given levels of the attributes.
Usage
## S3 method for class 'utility.endnode.firstavail'
evaluate(x, attrib, par = NA, ...)
Arguments
x |
node to be evaluated. |
attrib |
numeric vector with labelled components providing the levels of a single set of attributes or data frame for which each row provides such a set of attributes. |
par |
(optional) labelled numeric parameter vector providing parameters to modify the value or utility function before evaluation. |
... |
currently no other arguments are implemented or passed further. |
Value
Numeric vector of results of values or utilities at the node for all provided sets of attribute levels.
Author(s)
Peter Reichert <peter.reichert@emeriti.eawag.ch>
References
Short description of the package:
Reichert, P., Schuwirth, N. and Langhans, S.,
Constructing, evaluating and visualizing value and utility functions for decision support, Environmental Modelling & Software 46, 283-291, 2013.
Textbooks on the use of utility and value functions in decision analysis:
Keeney, R. L. and Raiffa, H. Decisions with Multiple Objectives - Preferences and Value Tradeoffs. John Wiley & Sons, 1976.
Eisenfuehr, F., Weber, M. and Langer, T., Rational Decision Making, Springer, Berlin, 2010.
See Also
utility.endnode.firstavail.create
to create the node,
print.utility.endnode.firstavail
or
summary.utility.endnode.firstavail
to print its definition, and
plot.utility.endnode.firstavail
to plot the node
and
utility.endnode.discrete.create
,
utility.endnode.intpol1d.create
,
utility.endnode.parfun1d.create
,
utility.endnode.intpol2d.create
,
utility.endnode.cond.create
,
utility.aggregation.create
,
utility.conversion.intpol.create
,
utility.conversion.parfun.create
to create other nodes.
Examples
# see
help(utility)
# for examples.