kml_description {plotKML}R Documentation

Generate a table description from a data frame

Description

Converts a two-column data frame to a table in HTML format. This can then parsed to a KML file as the layer description.

Usage

kml_description(x, iframe = NULL, caption = "Object summary", 
              fix.enc = TRUE, cwidth = 150, twidth = 300, 
              delim.sign = "_", asText = FALSE)

Arguments

x

object of class "data.frame" with two columns

iframe

(optional) iframe content

caption

character; table caption

fix.enc

logical; specify whether to fix encoding

cwidth

numeric; first column width

twidth

numeric; table width

delim.sign

character; delimiter sign

asText

logical; specifies whether to return the formatted table as text or XML

Author(s)

Tomislav Hengl

See Also

kml-methods


[Package plotKML version 0.5-9 Index]