brighten {papaja} | R Documentation |
Brighten up a Color
Description
Brighten up a specified color (e.g., the swarm color in apa_beeplot()
).
This function is not exported.
Usage
brighten(col, factor)
Arguments
col |
Colour to be brightened up. Can be anything that is digestible by |
factor |
Numeric. The rate with which the color channel should be boosted. Must be in the range between 0 and 1. |
Value
A character vector as returned by rgb()
.
[Package papaja version 0.1.3 Index]