pmx_vpc_ci: Sets vpc confidence interval layer

View source: R/plot-vpc.R

pmx_vpc_ciR Documentation

Sets vpc confidence interval layer

Description

Sets vpc confidence interval layer

Usage

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" areas 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, 2024, 1:40 a.m.