shade: Creates Kobe II Strategy Matrices

shadeR Documentation

Creates Kobe II Strategy Matrices

Description

Creates latex tables with shading for inclusion in latex docs.

Usage

## 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 = "\\%", ...)

Arguments

object

an object of class vector,data.frame,...

breaks

vector of breaks

shades

vector of colours for shading

pct

adds percent sign

...

other arguments


laurieKell/kobe documentation built on Sept. 9, 2023, 9:47 p.m.