Learn R Programming

utility (version 1.4.6)

evaluate.utility.conversion.parfun: Evaluate Node and Associated Hierarchy

Description

Calculate values or utilities at all nodes of a hierarchy for given levels of the attributes.

Usage

# S3 method for utility.conversion.parfun
evaluate(x, attrib, par = NA, ...)

Value

Data frame with results of values or utilities at all nodes of the hierarchy for all provided sets of attribute levels.

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.

Author

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.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.discrete.create,
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

to create other nodes.

Examples

Run this code
# see
help(utility)
# for examples.

Run the code above in your browser using DataLab