stan_plot_options: Set default appearance options

Description Usage Arguments See Also Examples

Description

Set default appearance options

Usage

1
2
3

Arguments

...

For rstan_ggtheme_options, see theme for the theme elements that can be specified in .... For rstan_gg_options, ... can be fill, color, chain_colors, size, pt_color, or pt_size. See Examples.

See Also

List of RStan plotting functions

Examples

1
2
3
rstan_ggtheme_options(panel.background = element_rect(fill = "gray"),
                      legend.position = "top")
rstan_gg_options(fill = "skyblue", color = "skyblue4", pt_color = "red")

Example output

Loading required package: ggplot2
Loading required package: StanHeaders
rstan (Version 2.16.2, packaged: 2017-07-03 09:24:58 UTC, GitRev: 2e1f913d3ca3)
For execution on a local, multicore CPU with excess RAM we recommend calling
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())

rstan documentation built on Nov. 8, 2018, 1:04 a.m.