Description Usage Arguments Details See Also Examples
Explore a LoCoH-xy object in a zoomable clickable interactive map
1 2 3 |
lxy |
A LoCoH-xy object |
id |
The name(s) of individuals to export |
bg |
The background layer (i.e., tile) to display, or |
connect.dots |
Whether to draw a line between segments, T/F |
line.popup |
Enable popup balloons on the line segments, T/F |
width |
Width of the leaflet map including 'px' for units |
height |
Height of the leaflet map including 'px' for units |
status |
Display status messages, T/F |
This function displays a Locoh-xy object in an interactive window with a satellite image in the background. You may zoom in and out, pan, and click on locations.
To use this function, you must be using RStudio with the leaflet package installed. To display a satellite image in the background, you must also be connected to the internet.
1 2 3 4 5 6 7 8 9 | ## Not run:
if (!require('devtools')) install.packages('devtools')
devtools::install_github('rstudio/leaflet')
mycon <- url("http://tlocoh.r-forge.r-project.org/toni.n5775.2005-08-22.2006-04-23.lxy.RData")
load(mycon)
close(mycon)
lxy.explore(toni.lxy, connect.dots=TRUE, line.popup=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.