colors | R Documentation |
Default discrete and continuous colors used in pomdp for states (nodes), beliefs and values.
colors_discrete(n, col = NULL)
colors_continuous(val, col = NULL)
n |
number of states. |
col |
custom color palette. |
val |
a vector with values to be translated to colors. |
colors_discrete()
returns a color palette and
colors_continuous()
returns the colors associated with the supplied values.
colors_discrete(5)
colors_continuous(runif(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.