dot-optimize_palette: Optimize palette

Description Usage Arguments Value

Description

Given a palete, run the genetic algorithm described in Troiano, Birtolo, and Miranda 2008 to create a palette that should work better for those with colorblindness.

Usage

1
.optimize_palette(palette, maxiter = 45, parallel = F, monitor = plot)

Arguments

palette

Original palette, in hex strings

maxiter

Number of iterations to run

parallel

Should you run in parallel? F to turn off, else # of cores to use

monitor

Monitor convergence? use plot to view, F to turn off

Value

A hex string with a new palette


tsostarics/ftpals documentation built on Dec. 23, 2021, 12:59 p.m.