addStyle {foodwebWrapper}R Documentation

addStyle

Description

insert tags into HTML code to implement rotating table text

Usage

addStyle(x, m, colorMap, pawn)

Arguments

x

character vector containing HTML code

m

character matrix containing table that is represented in x

colorMap

character array of colors

pawn

Boolean if TRUE use chess symbols rather than rectangles in html table

Value

returns modified HTML code

Examples

if(interactive()){
load("data/x_x2.RData")
load("data/x_m5.RData")
load("data/x_colorMap.RData")
y<-addStyle(x_x2,x_m5,x_colorMap,pawn=TRUE)
}


[Package foodwebWrapper version 1.1.0 Index]