shade.RdCreates latex tables with shading for inclusion in latex docs.
# S4 method for 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 |