construct_entire_gtab {clickableImageMap}R Documentation

construct_entire_gtab

Description

construct the main gtable into which grobs will be inserted

Usage

construct_entire_gtab(m, rows, message, clickCoord)

Arguments

m

a matrix

rows

numerical vector defining rows for inserting grobs into main gtable

message

character string message to display in annunciator grob of gtable

clickCoord

numerical matrix of 2 columns, each row contains x and y coords of a mouse click

Value

returns a list whose components are

Examples

if(interactive()){
load("data/x_m.RData")
load("data/x_rows.RData")
load("data/x_clickCoord.RData")
gtab<-construct_entire_gtab(x_m,x_rows,"x_message",x_clickCoord)
}


[Package clickableImageMap version 1.0 Index]