make_banner: Creates an LGBT Pride Flag with R Logo

Description Usage Arguments Value

View source: R/flag.R

Description

Creates an LGBT Pride Flag with R Logo

Usage

1
2
3
4
5
make_banner(
  flag = "rainbow",
  width = 1000,
  palette = c("#cbced0", "#84838b", "#505050", "#a0a0a0")
)

Arguments

flag

character string (e.g., rainbow) naming the flag to be drawn

width

numeric (width of the flag in pixels)

palette

character vector of colours 1, 2 or 4 colours

Value

An object of class "magick-image"


djnavarro/rainbowr documentation built on July 9, 2020, 7:26 a.m.