RemoveOutliers: RemoveOutliers

Description Usage Arguments Details Value

Description

Removes routes that are likely outliers (far outside "likely" breeding range)

Usage

1
2
RemoveOutliers(raw.counts = NULL, thresh = 15, k = 1, Write = TRUE,
  path = NULL)

Arguments

thresh

Number of standard deviations beyond mean knn distance to be considered outlier (default = 5)

k

Number k on nearest neighbors

counts

Species count data frame obtained from GetSppCounts

Details

Estimates for each route i the mean distance of each route to its k nearest neighbors (knn-distance). Any route with knn-distance greater than tresh*sd above the mean(knn-distance) is considered an outlier and removed from the data

Value

Data frame with same format as counts but with outlier routes removed


RushingLab/BBS.SDM documentation built on May 28, 2019, 11:21 a.m.