colors {pomdp} | R Documentation |
Default Colors for Visualization in Package pomdp
Description
Default discrete and continuous colors used in pomdp for states (nodes), beliefs and values.
Usage
colors_discrete(n, col = NULL)
colors_continuous(val, col = NULL)
Arguments
n |
number of states. |
col |
custom color palette. |
val |
a vector with values to be translated to colors. |
Value
colors_discrete()
returns a color palette and
colors_continuous()
returns the colors associated with the supplied values.
Examples
colors_discrete(5)
colors_continuous(runif(10))
[Package pomdp version 1.2.3 Index]