create.survey.results-methods: S4 generic method to simulate a survey

Description Usage Arguments Details Value Examples

Description

Simulates the process by which individuals / clusters are detected. Currently this is only implemented for line transect surveys. It returns an object of class LT.Survey.Results which contains a population, a set of transects, distance data and if requested region, sample and obs tables.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
create.survey.results(object, dht.tables = FALSE, ...)

## S4 method for signature 'Simulation'
create.survey.results(object, dht.tables = FALSE, ...)

## S4 method for signature 'Single.Obs.LT.Survey'
create.survey.results(object, dht.tables = FALSE, ...)

## S4 method for signature 'Single.Obs.PT.Survey'
create.survey.results(object, dht.tables = FALSE, ...)

Arguments

object

an object of class Simulation

dht.tables

logical value indicating whether or the data tables for Hortvitz-Thompson estimation are required.

...

allows a region object to be passed in

Details

This object can be displayed using plot() or the distance data extracted using get.distance.data(). You can then investigate fitting models to this data.

Value

an object of class LT.Survey.Results

Examples

1
2
3
4
5
6
## Not run: 
survey.results <- create.survey.results(simulation, dht.table = TRUE)

plot(survey.results)

## End(Not run)

DSsim documentation built on March 26, 2020, 7:39 p.m.