Skip to contents

This function generates a generative art ggplot object featuring rows of stripes.

Usage

stripes(
  perc = 0.5,
  n = 3,
  col_palette = rcartocolor::carto_pal(n = 7, "TealGrn"),
  alpha = 1,
  s = 1234
)

Arguments

perc

Percentage of data points to be sorted. Default 0.5.

n

Number of rows. Default 3.

col_palette

Vector of colours. Default "TealGrn" colour palette from rcartocolor.

alpha

Transparancy of fill

s

Seed value. Default 1234.

Value

A ggplot object