rv_create_airplane | R Documentation |
rv_create_airplane(
risk_ratio = 0.1,
risk_places = NULL,
risk_vector = NULL,
compact = FALSE,
risk_names = "Risk",
fill = c("coral1", "darkcyan", "darkgoldenrod1", "darkseagreen1", "lightskyblue1"),
na_colour = "grey90",
rows = 33,
seats_per_row = 6,
title = NULL,
font_family = "sans",
font_size = 20,
font_family_seats = "mono",
seat_size_ratio = 1,
legend_position = "none",
coord_ratio = 0.8
)
risk_ratio |
Fraction of places that are subject to risk. For example, if set to 0.1 (the default), 10 \itemrisk_placesNumber of risk places, defaults to NULL. If given, takes precedence over ratio. \itemfillA vector of colours. \itemrowsNumber of rows, defaults to 33 (found in commercial airplanes, and with 6 seats per rows it adds up to 198 seats in total). \itemlegend_positionDefaults to "none". \itemcoord_ratioNumeric, defaults to 0.8, untested with anything else. Y/X ratio. |
Create risk airplane
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.