new_vpc_theme: Create a customized VPC theme

Description Usage Arguments Details Value Examples

Description

Create a customized VPC theme

Usage

1

Arguments

update

list containing the plot elements to be updated. Run 'new_vpc_theme()' with no arguments to show an overview of available plot elements.

Details

This function creates a theme that customizes how the VPC looks, i.e. colors, fills, transparencies, linetypes an sizes, etc. The following arguments can be specified in the input list:

Value

A list with vpc theme specifiers

Examples

1
2
3
4
5
6
7
8
theme1 <- new_vpc_theme(update = list(
  obs_color = "red",
  obs_ci_color = "#aa0000",
  obs_alpha = .3,
  sim_pi_fill = "#cc8833",
  sim_pi_size = 2
))
vpc(simple_data$sim, simple_data$obs, vpc_theme = theme1)

vpc documentation built on Jan. 16, 2021, 5:44 p.m.