survey: Simulate a survey

View source: R/survey.R

surveyR Documentation

Simulate a survey

Description

survey() models a spatial survey as a function with three components: a point pattern representing the population to be surveyed; a sampling frame; and a detection function.

Usage

survey(points, units, sample_column = sample,
  detection_function = detect_constant, ...)

Arguments

points

An sf of points to be surveyed

units

An sf of sample units

sample_column

Name of the column in sf that specifies whether the unit is included in the sample. Default: sample.

detection_function

A detection function.

...

Additional arguments to the detection function.

Value

An sf of points representing the result of the survey.


joeroe/fieldwalkr documentation built on Feb. 17, 2024, 12:15 a.m.