run.analysis-methods: S4 generic method to run analyses

Description Usage Arguments Value

Description

This method carries out an analysis of distance sampling data. This method is provided to allow the user to perform diagnostics of the analyses used in the simulation. The data argument can be obtained by a call to simulate.survey(object, dht.table = TRUE). Note if the first object supplied is of class DDf.Analysis then the second argument must be of class DDf.Data. The data argument may be of either class for an object argument of class Simulation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
run.analysis(object, data, ...)

## S4 method for signature 'DDF.Analysis,DDF.Data'
run.analysis(object, data, dht = FALSE, point = FALSE, warnings = list())

## S4 method for signature 'Simulation,Survey.Results'
run.analysis(object, data, dht = FALSE)

## S4 method for signature 'Simulation,DDF.Data'
run.analysis(object, data, dht = FALSE)

Arguments

object

an object of class Simulation or DDF.Analysis

data

an object of class Survey.Results or DDF.Data

...

optional arguments including the following:

dht

logical whether density should be estimated after fitting the model

point

logical indicating whether it is a point transect survey

warnings

a list of warnings and how many times they arose

Value

a list containing an S3 ddf object and optionally an S3 dht object relating to the model with the minimum criteria.


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