powered by
Plot tracks in the psyo format on map.
psyo
plot_tracks( tracks, single = FALSE, line = TRUE, dots = TRUE, plot = "", zoom = -1, save_dir = "", cgaps = "", t_id = "id" )
psyo. Tracks that will be plotted.
logical. Display the plotted maps. Between each plot the script will wait for user confirmation until the next plot will be displayed.
logical. Whether to draw a line between the coordinates.
logical
logical. Whether to display the coordinates.
ggmap. An existing map / plot where the tracks are added. If no plot is provided a Google map will be downloaded.
numeric. Zoom factor of the map. See ggmap::get_googlemap.
character. Save the plots in a directory. If empty no plots will be saved.
character. Column name of tracks that marks gaps with TRUE.
character
tracks
TRUE
character or integer. The column name that identifies the different tracks. Use t_id = "" to process all tracks.
A ggmap object.
plot_map, plot_line, plot_polygon
plot_map
plot_line
plot_polygon
# NOT RUN { \dontrun{ # Plot tracks data(psyo_rounds2) plot <- plot_tracks(psyo_rounds2) plot # Get zoom level plot$zoom } # }
Run the code above in your browser using DataLab