pmx_vpc_ci: Sets vpc confidence interval layer

Description Usage Arguments See Also

View source: R/plot-vpc.R

Description

Sets vpc confidence interval layer

Usage

1
2
3
4
5
6
7
pmx_vpc_ci(
  show = c("all", "median"),
  interval = c(0.025, 0.975),
  method = c("ribbon", "rectangle"),
  median = list(fill = "red", 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()


ggPMX documentation built on May 29, 2021, 5:06 p.m.