View source: R/clickableImageMap.R
tabify | R Documentation |
adjust the width and height of a matrix to exactly fill the grob
tabify(m, focus = FALSE, clickCoord = NULL)
m |
a matrix |
focus |
Boolean if TRUE add emphasis to matrix cell |
clickCoord |
param for highlightOneCell() |
returns the grob containing the matrix
if(interactive()){
load("data/x_m.RData")
t<-tabify(x_m,FALSE,NULL)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.