pkml | R Documentation |
pkml
generates a pointwise KML file of a
binClstPath_instance, which can be viewed using Google Earth or
other GIS software.
pkml(obj, folder = "embcDocs", markerRadius = 15, display = FALSE, ...)
## S4 method for signature 'binClstPath'
pkml(obj, folder, markerRadius, display, showClst = numeric(), ...)
obj |
A binClstPath_instance. |
folder |
A character string indicating the name of the folder in which the .kml file will be saved. If the folder does not exist it is automatically created, (defaults to '~/embcDocs'). |
markerRadius |
A numeric value indicating the radius of the markers to be plotted, (defaults to 5 pixels). |
display |
A boolean value (defaults to FALSE) to automatically launch Google-Earth from within R to visualize the generated .kml document. (Google Earth must already be installed on the system. In Windows, it must be associated with the .kml file type.) |
... |
Parameters |
showClst |
A numeric vector indicating a subset of clusters to be shown. |
The path/name of the saved kml file.
bkml
## Not run:
# -- apply EMbC to the example path --
mybcp <- stbc(expth,info=-1)
# -- generate a pointwise .kml of the output --
pkml(mybcp)
# -- show only stopovers and automatically display the .kml document --
pkml(mybcp,showClst=c(1,2),display=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.