exp_clus_gpx {GPSeqClus} | R Documentation |
Export cluster .gpx file
Description
Uses results from 'GPSeq_clus" to export .gpx file from specified AID and vector of desired cluster numbers for navigation during field site investigations.
Usage
exp_clus_gpx(AID, cn = "all", locs, cs, centroid_calc = "mean", dir = NULL)
Arguments
AID |
Desired AID from sequential cluster output |
cn |
Numeric vector of desired cluster numbers to include in .gpx output, default is "all" |
locs |
Location dataframe output from GPSeq_clus() |
cs |
Cluster summary output from GPSeq_clus() |
centroid_calc |
'mean' (default) or 'median' centroid plot |
dir |
File path to save output |
Value
.gpx file
Examples
exp_clus_gpx(AID = "ML1605M", cn = 4,
locs = GPSeq_clus(dat = ML_ex_dat[1:50,], search_radius_m = 200, window_days = 6,
clus_min_locs = 3, show_plots = c(FALSE, "mean"))[[1]],
cs = GPSeq_clus(dat = ML_ex_dat[1:50,], search_radius_m = 200, window_days = 6,
clus_min_locs = 3, show_plots = c(FALSE, "mean"))[[2]],
dir= tempdir()
)
[Package GPSeqClus version 1.4.0 Index]