as_emphatic | R Documentation |
This usually does not need to be called explicitly by the user.
as_emphatic(.data)
.data |
data.frame, matrix or atomic vector |
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').
An emphatic
version of the given .data with added attributes for text and fill colours
mtcars |>
head() |>
as_emphatic()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.