utility.get.colors | R Documentation |
Function to get the colors from a given color scheme at specific value levels.
utility.get.colors(u,col=utility.calc.colors())
u |
value level representing the evaluation ot a value function (this value level has to be between zero and unity). |
col |
color scheme (vector of colors to be used for a division of the interval between zero and unity into equal intervals)). |
Character vector of colors.
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.
See
utility.calc.colors
utility.get.colors(c(0,0.5,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.