select_relevant: Select the relevant observation of a species

View source: R/select_relevant.R

select_relevantR Documentation

Select the relevant observation of a species

Description

Relevant locations have at least two observations in different cycle. Relevant periods have average numbers of at least 15% of the most important period.

Usage

select_relevant(
  observation,
  species,
  repo,
  min_observation = 100,
  min_stratum = 3,
  min_cycle = 2,
  proportion = 0.15
)

Arguments

observation

The dataframe with the visits and location group.

species

The fingerprint of the species.

repo

a git2rdata::repository() object

min_observation

The minimum number of observations for taking a species into account. Defaults to 100.

min_stratum

The required minimum number of relevant locations per stratum. Defaults to 3.

min_cycle

Minimum number of cycles in which a species must be found at a square. Square with sightings from fewer cycles will be ignored. Defaults to 2.

proportion

Minimum proportion of the least important period. Defaults to 0.15.


inbo/abvanalysis documentation built on April 6, 2023, 5:14 a.m.