shade | R Documentation |
Creates latex tables with shading for inclusion in latex docs.
## S4 method for signature 'numeric'
shade(object, breaks = c(-0.1, 50, 60, 70, 80, 90,
100), shades = c("\\cellcolor{gray100}", "\\cellcolor{gray90}",
"\\cellcolor{gray80}", "\\cellcolor{gray70}",
"\\cellcolor{gray60}", "\\cellcolor{gray50}"), pct = "\\%", ...)
object |
an object of class |
breaks |
vector of breaks |
shades |
vector of colours for shading |
pct |
adds percent sign |
... |
other arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.