fn interp_col2rgb(
args: &[RValue],
named: &[(String, RValue)],
ctx: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Convert color specifications to RGB values.
Returns a 3-row (or 4-row if alpha=TRUE) integer matrix with columns for each input color.
@param col color specification(s) — names, hex strings, or palette indices @param alpha logical, whether to include the alpha channel (default FALSE) @return integer matrix with rownames “red”, “green”, “blue” (and “alpha”)