View source: R/utility.endnode.discrete.r
evaluate.utility.endnode.discrete | R Documentation |
Calculate values or utilities at the node for given levels of the attributes.
## S3 method for class 'utility.endnode.discrete'
evaluate(x, attrib, par = NA, ...)
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. |
Numeric vector of results of values or utilities at the node for all provided sets of attribute levels.
Peter Reichert <peter.reichert@emeriti.eawag.ch>
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.
utility.aggregation.create
to create the node,
print.utility.aggregation
or
summary.utility.aggregation
to print its definition, and
plot.utility.aggregation
to plot the node
and
utility.endnode.intpol1d.create
,
utility.endnode.parfun1d.create
,
utility.endnode.intpol2d.create
,
utility.endnode.cond.create
,
utility.endnode.firstavail.create
,
utility.aggregation.create
,
utility.conversion.intpol.create
,
utility.conversion.parfun.create
to create other nodes.
# see
help(utility)
# for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.