exploreVisits: A function to explore the definition of field visits

Description Usage Arguments Value See Also Examples

View source: R/exploreVisits.r

Description

A function to explore the definition of field visits. Visits are a central concept in the approach to species observation data used by the BIRDS package. In order to assess if your definition of visit aligns with your grid size, you must explore the spatial extent of visits.

Usage

1
exploreVisits(x, visitCol = NULL, sppCol = "scientificName")

Arguments

x

an object of class ‘OrganizedBirds’ (organised BIRDS Spatial data frame). See organizeBirds.

visitCol

name of the column for the visits UID.

sppCol

name of the column for species names.

Value

a data.frame with summarized data per visit:

See Also

createVisits, organiseBirds

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
if(interactive()){
# create a visit-based data object from the original observation-based data
OB <- organizeBirds(bombusObs)
visitStats <- exploreVisits(OB)
# esquisse::esquisser(visitStats)
# alternatively, plot the variable you want, e.g.:
# to see the distribution of distances covered on each visit
hist(visitStats$effortDiam)
# to see the distribution of species list lengths of each visit
hist(visitStats$SLL)
# to identify suspicious visits reported the first day of each month or year
hist(visitStats$day)
# to see correlations
plot(visitStats$nObs, visitStats$effortDiam)
plot(visitStats$SLL, visitStats$effortDiam)
# to see the ditributions of observations along the days of the month
plot(visitStats$day, visitStats$nObs)
}

BIRDS documentation built on June 27, 2021, 1:06 a.m.