Learn R Programming

utility (version 1.4.6)

evaluate: Evaluate Node and Associated Hierarchy

Description

Generic function to calculate values or utilities at all nodes of a hierarchy for given levels of the attributes.

Usage

evaluate(x, ...)

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.

...

attribute levels have to be provided as an additional argument attrib; parameter values can optionally be provided as an additional argument par.

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

See

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 the nodes to be evaluated.

Examples

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

Run the code above in your browser using DataLab