make_hex: Creates an LGBT Pride Hex Sticker with R Logo

Description Usage Arguments Value

View source: R/hex.R

Description

Creates an LGBT Pride Hex Sticker with R Logo

Usage

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

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

background

character string specifying the background colour (default = "white")

Value

An object of class "magick-image"


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