The function accepts a numeric (or NULL/NA) or a two-character hex encoded alpha representation and returns a the respective other representation.
.convert_alpha(numeric_alpha = NULL, hex_alpha = NULL)
If numeric_alpha
was specified, its two-letter representation is returned. If hex_alpha
was specified, its numeric representation is returned.
A numerical value between 0 and 1.
A two-letter character string.