Learn R Programming

foodwebWrapper (version 1.1.0)

addStyle: addStyle

Description

insert tags into HTML code to implement rotating table text

Usage

addStyle(x, m, colorMap, pawn)

Value

returns modified HTML code

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

Examples

Run this code
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)
}

Run the code above in your browser using DataLab