process_colors: Process colors chosen by participants

Description Usage Arguments Value

Description

For participants who didn't choose colors a random color is picked. Colors are converted to RGB and hex to use in HTML files. Distance from other participants' colors is calculated for final results.

Usage

1
process_colors(participants)

Arguments

participants

A data frame with participants (see [demo_participants] for format).

Value

A data frame with random colors chosen for participants who didn't choose colors, r, g, b columns with RGB values, hex with hex color value and dist with the average distance from other participants' colors.


martina-starc/peRson documentation built on April 14, 2021, 3:48 p.m.