pullDown {clickableImageMap} | R Documentation |
pullDown
Description
generate and insert a matrix, acting as a pull down menu, into a gtable object
Usage
pullDown(gtab, row, focus)
Arguments
gtab |
a gtable object |
row |
integer target row number within the gtable |
focus |
Boolean if TRUE add emphasis to matrix cell |
Value
returns a list whose components are the generated matrix and the gtable object
Examples
if(interactive()){
load("data/x_gtab.RData")
load("data/x_rows.RData")
pullDownRow<-which(names(x_rows)=="pullDownRow")
message<-"select a new value from the pull down menu: "
pd<-pullDown(x_gtab,pullDownRow,grepl("pull down",message))
}
[Package clickableImageMap version 1.0 Index]