| bayesqm-colors | R Documentation |
Every plot in the package reads its palette through
bayesqm_colors(). Call bayesqm_set_colors() to switch the active
scheme for every subsequent plot. The available built-in schemes
are "blue" (default), "teal", "red", "purple", and "grey".
For full control, pass a named list with slots light, mid,
dark, accent, grey, gridgrey, and fill.
bayesqm_colors()
bayesqm_set_colors(scheme)
scheme |
Character name of a built-in scheme, or a named list of colours with the slot names listed in the description. |
bayesqm_colors() returns the active palette as a named
list. bayesqm_set_colors() returns the previous scheme name,
invisibly.
bayesqm_colors()
fit <- demo_fit(N = 6, J = 10, K = 2, Td = 50, seed = 1)
bayesqm_set_colors("teal")
plot(fit)
bayesqm_set_colors("blue") # restore default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.