View source: R/spThinBySubspecies.R
spThinBySubspecies | R Documentation |
This function takes cleaned localities and applies a thinning algorithm so that points are no closer than the thin.par km. Does this per species, or whatever level of taxonomy is represented in the species column
spThinBySubspecies(
loc_good_clean,
thin.par = 10,
reps = 1,
lat.col = "latitude",
long.col = "longitude",
spec.col = "assigned",
verbose = T,
write.files = T,
overwrite = F,
species
)
loc_good_clean |
Cleaned localities with associated Env data |
thin.par |
The amount of km points should not be closer than |
reps |
How many times to repeat the thinning |
lat.col |
the column name for latitude |
long.col |
The column name for longitude |
spec.col |
The column name for species |
loc_good_clean = cleanByEnvironment(Env, loc)
locs_thinned = spThinBySubspecies(loc_good_clean,thin.par=10,reps=1,lat.col="latitude",long.col="longitude",spec.col="assigned")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.