Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pkml

Generate a pointwise .kml file of a binClstPath_instance


Description

pkml generates a pointwise KML file of a binClstPath_instance, which can be viewed using Google Earth or other GIS software.

Usage

pkml(obj, folder = "embcDocs", markerRadius = 15, display = FALSE,
  ...)

## S4 method for signature 'binClstPath'
pkml(obj, folder, markerRadius, display,
  showClst = numeric(), ...)

Arguments

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 folder, markerRadius, display and showClst are optional.

showClst

A numeric vector indicating a subset of clusters to be shown.

Value

The path/name of the saved kml file.

See Also

Examples

## 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)

EMbC

Expectation-Maximization Binary Clustering

v2.0.3
GPL-3 | file LICENSE
Authors
Joan Garriga, John R.B. Palmer, Aitana Oltra, Frederic Bartumeus
Initial release
2019-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.