inky_2d_fig: Make a gradient figure from four colours

Description Usage Arguments Value Examples

View source: R/inky-gradients.R

Description

Make a gradient figure from four colours

Usage

1
inky_2d_fig(colours, x = 20, y = 14)

Arguments

colours

A vector of length 4, all as valid arguments to col2rgb

x

The length of the x dimension

y

The length of the y dimension

Value

A ggplot2 objects

Examples

1

alexwhan/inkyr documentation built on Jan. 26, 2021, 12:28 a.m.