k.nearest.distr: K-nearest neighbour distribution

Description Usage Arguments

View source: R/k.nearest.distr.R

Description

Computes k-nearest neighbour values within a year

Usage

1
2
3
4
5
6
k.nearest.distr(
  da = data.frame(Id = buzzard_db$repro_fledge_db$Territory, Year =
    buzzard_db$repro_fledge_db$Year, Lat = buzzard_db$repro_fledge_db$N, Lon =
    buzzard_db$repro_fledge_db$E),
  k = 1
)

Arguments

k

integer or integer vector denoting k.nearest neighbour to compute

dat

data frame with columns Id, Year, Lat & Lon


mottensmann/DBChecks documentation built on Feb. 3, 2022, 9:21 p.m.