R/core.R
as_emphatic.Rd
This usually does not need to be called explicitly by the user.
as_emphatic(.data)
data.frame, matrix or atomic vector
An emphatic
version of the given .data with added attributes for text and fill colours
The function adds the attributes necessary for keeping track of the colours assigned to each cell. This consists of 2 character matrices - one for the text colour and one for the background colour.
Colour information is stored as R colour names (e.g. 'red') or 6 character hex colours (e.g. '#ff0000').