calcRepeatVisits: Calculate the number of repeat visits to grid cells across a...

View source: R/calcRepeatVisits.R

calcRepeatVisitsR Documentation

Calculate the number of repeat visits to grid cells across a taxonomic group

Description

This function can be used to assess, for a chosen taxonomic group, the number of records per grid cell.

Usage

calcRepeatVisits(inPath, taxon, res, start, end, output)

Arguments

inPath

String. Location of the data obtained using extract_records

taxon

string. Taxonomic group. Must match a file name (without "_raw_data.rdata") in inPath.

res

Numeric. Spatial resolution for the analysis in decimal degrees.

start

Numeric. Earliest year cutoff for analysis.

end

Numeric. Final year cutoff for analysis

output

String. One of: "map" to get a map of the no. records per cell, "hist" to get a histrogram of repeat visits, or other to get the raw values (no. repeat visits per cell).


robboyd/soaR documentation built on April 24, 2022, 9:44 a.m.