Martin Maechler
Gesendet: Mittwoch, 2. Dezember 2020 09:45:27
An: Ben Bolker
Cc: r-devel@r-project.org
Betreff: Re: [Rd] undocumented 'offset' argument in
src/library/grDevices/man/adjustcolor.Rd
>>>>> Ben Bolker
>>>>> on Mon, 30 Nov 2020 16:33:23 -0
> Ben Bolker
> on Mon, 30 Nov 2020 16:33:23 -0500 writes:
> The 'offset' argument description is blank ...
> maybe 'additive adjustment to each of the (red, green, blue, alpha)
> values defining the colors, after adjustment by the corresponding
> \code{.f} factor' ..
The 'offset' argument description is blank ...
maybe 'additive adjustment to each of the (red, green, blue, alpha)
values defining the colors, after adjustment by the corresponding
\code{.f} factor' ...?
This is the relevant code:
x <- col2rgb(col, alpha = TRUE)/255
x[] <- pmax(0, p