ggPMX (version 0.9.4)

pmx_vpc_ci: Sets vpc confidence interval layer

Description

Sets vpc confidence interval layer

Usage

pmx_vpc_ci(show = c("all", "median"), interval = c(0.05, 0.95),
  method = c("ribbon", "rectangle"), median = list(fill = "#3388cc", alpha =
  0.3), extreme = list(fill = "#3388cc", alpha = 0.3))

Arguments

show

charcater how areas are displayed:

  • show="all" areas will be displayed for each of the 3 percentiles.

  • show="median" Show only median area.

interval

numeric quantiles values default to c(.05,.95)

method

charcater which areas are displayed:

  • method="ribbon" areas are ribbons.

  • method="rectangle" ares are horizontal rectangles.

median

list containing:

  • fill character Color of the area representing the CI for the median. Default: "#3388cc".

  • alpha numeric Transparency of the area representing the PI for the median. Default=0.3.

extreme

list containing:

  • fill character Color of the area representing the CI for the extreme percentiles. Default: "#3388cc".

  • alpha numeric Transparency of the area representing the PI for the extreme percentiles. Default=0.3.

See Also

Other vpc: pmx_plot_vpc, pmx_vpc_bin, pmx_vpc_obs, pmx_vpc_pi, pmx_vpc_rug, pmx_vpc