Description Usage Arguments Value Author(s) See Also Examples
Plot tracks in the psyo
format on map.
1 2 3 4 |
tracks |
|
single |
logical. Display the plotted maps. Between each plot the script will wait for user confirmation until the next plot will be displayed. |
line |
|
dots |
|
plot |
ggmap. An existing map / plot where the tracks are added. If no plot is provided a Google map will be downloaded. |
zoom |
numeric. Zoom factor of the map. See ggmap::get_googlemap. |
save_dir |
character. Save the plots in a directory. If empty no plots will be saved. |
cgaps |
|
t_id |
character or integer. The column name that identifies the different tracks. Use t_id = "" to process all tracks. |
A ggmap object.
Benjamin Ziepert
plot_map
, plot_line
, plot_polygon
1 2 3 4 5 6 7 8 9 10 | ## Not run: \dontrun{
# Plot tracks
data(psyo_rounds2)
plot <- plot_tracks(psyo_rounds2)
plot
# Get zoom level
plot$zoom
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.