pkml: Generate a pointwise .kml file of a binClstPath_instance

pkmlR Documentation

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

bkml

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 documentation built on Oct. 3, 2023, 5:07 p.m.