View source: R/exploreVisits.r
lapplyVisits | R Documentation |
An internal function to explore the definition of field visits
lapplyVisits(x, dat, visitCol, spdf, minPts)
x |
an subset object to pass to apply |
dat |
an object of class ‘OrganizedBirds’ (organised BIRDS Spatial data frame). |
visitCol |
name of the column for the visits UID. |
spdf |
spatial object of dat. |
minPts |
minimum number of points, default to 3. |
a data.frame
with summarized data per visit:
“effortDiam”: the 2 times the maximum of the distances between the centroid of all observation points and any individual observation.
“medianDist”: the median (Q2) of the distances between the centroid and the observations, in meters.
“iqrDist”: the interquartile range of the distances between the centroid the observations, in meters.
“nUniqueLoc”: the number of unique combination of coordinates (locations).
“nClusters”: the number of clusters defined by the DBSCAN algorithm, a minimum of 3 observations per cluster within the median distance between all observations. If the number of clusters is = 0 means that there are at least 3 unique locations but observations are too spread and no cluster was found. If the number of unique locations is less than 3, observations are considered as a single cluster without outliers.
“nOutliers”: the number of observations whose distance to any cluster is beyond the median distance between all observations.
createVisits
, organiseBirds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.