plot_tracks {psyosphere} | R Documentation |
Plot tracks in the psyo
format on map.
plot_tracks( tracks, single = FALSE, line = TRUE, dots = TRUE, plot = "", zoom = -1, save_dir = "", cgaps = "", t_id = "id" )
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 |
|
zoom |
numeric. Zoom factor of the map. See |
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
# Plot tracks data(psyo) data(psyo_map) plot <- psyosphere::plot_tracks(psyo, plot = psyo_map) # plot <- psyosphere::plot_tracks(psyo) plot # Get zoom level plot$zoom