Learn R Programming

sendplot (version 4.0.0)

writeArea: Writes Data Frame Entries to File In Interactive Format

Description

NOT CALLED BY USER. These functions are utilized by the writeToHTML functions to access entries of a data frame and convert entries into a format for interactive display. Output is written to HTML file.

Usage

writeCircle.1(DFs, cdat, ndat, obj)
writeCircle.2(DFs, cdat, ndat, obj)
writeRect.1(DFs, cdat, ndat)
writeRect.2(DFs, cdat, ndat, obj)
writePoly.1(DFs, cdat, ndat, obj)
writePoly.2(DFs, cdat, ndat, obj)

Arguments

DFs
output from makeCharacter function
cdat
Data frame containing data
ndat
vector containing names/identifiers for cdat
obj
list containing data frames dat and dat2. This object is output from the makeScatterDF or makeImageDF function

Value

  • Line by Line output written to HTML file

Details

The writeArea functions are utilized by the writeToHTML functions when an interactive figure is desired. It takes properly formated data and based on what imagemap region (i.e. circle, rect, poly, or default), writes data to an HTML file. function.1 is utilized when using header = "v1" function.2 is utilized when using header = "v2" or "v3" The data is displayed in different ways depending on the header. users are encouraged to see vignette for better descriptions and examples

References

http://www.onlamp.com/pub/a/onlamp/2007/07/05/writing-advanced-javascript.html

http://www.walterzorn.com/tooltip/tooltip_e.htm

See Also

makeSplot, writeToHTML, sp.header

Examples

Run this code
# not called by user

Run the code above in your browser using DataLab