imageMap {prada} | R Documentation |
Write an HTML IMG tag together with a MAP image map.
imageMap(con, imgname, coord, tooltips, url, target="extra")
con |
Connection (see argument con of writeLines ). |
imgname |
Character. Name of the image file, as it is to appear in the HTML output. |
coord |
Matrix with 4 columns. Each row specifies the corners of a rectangle within the image. |
tooltips |
Character of length nrow(coord) . |
url |
Character of length nrow(coord) . |
target |
Character. Name of the target browser window. |
See example.
The function is called for its side effect, which is writing text into
the connection con
.
Wolfgang Huber http://www.dkfz.de/abt0840/whuber
imageMap(stdout(), "myimage.jpg", coord=matrix(1:8,nrow=2), url=c("a","b"), tooltips=c("TT1", "TT2"))