[R] colouring a table, data.frame or matrix in an interactive R session

Vincent Zoonekynd zoonek at gmail.com
Sun Jan 8 13:52:05 CET 2012


On 7 January 2012 19:48, drflxms <drflxms at googlemail.com> wrote:

> as I am dealing with complex confusion matrices, I wonder whether there
> might be a way to colour text/tabular data in R. I.e. imagine
> highlighting the true positive values or certain classes in a table.

The "colorout" package does part of what you want: colouring the
output, in a terminal.
But some more work may be needed if you want to change the colours
depending on the values of your matrix.

-- Vincent



More information about the R-help mailing list