Description Usage Arguments Value Author(s) See Also Examples
This is a very simple utility function to create an HTML table that displays information from an R object, typically just a simple one-dimensional vector with names. It is used to create the description for a point in a KML display. When the viewer clicks on a point, this is displayed in a "balloon".
This is not intended to be as intelligent and flexible as
functions in the XML
or XDynDocs or RWordXML or R2HTML packages
for representing arbitrary R objects in HTML or another format.
1 |
x |
the R object which is to be displayed as a table, currently a named vector |
labels |
column names for the table |
byRow |
currently ignored but potentially a logical value that would control whether to organize the display of the elements by colum or row |
... |
additional parameters for methods |
An XMLInternalNode representing the table.
To convert this to a character representation of the table,
use saveXML
.
Duncan Temple Lang
kmlTime
and kmlPoints
or the general kml
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.