Skip to contents

Create animated version with multiple scenarios

Usage

rv_create_airplane_animation(
  risk_ratio = c(`Scenario A` = 0.01, `Scenario B` = 0.1, `Scenario C` = 0.3,
    `Scenario D` = 0.7),
  transition_length = 0.5,
  state_length = 1,
  risk_places = NULL,
  risk_vector = NULL,
  risk_names = NULL,
  fill = c("coral1", "darkgoldenrod1", "darkseagreen1", "lightskyblue1"),
  na_colour = "grey90",
  rows = 33,
  seats_per_row = 6,
  title = NULL,
  font_family = "sans",
  font_family_seats = "mono",
  legend_position = "none",
  ncol = NULL,
  nrow = NULL,
  guides = NULL
)

Arguments

guides