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.
run.analysis(object, data, ...)# S4 method for DDF.Analysis,DDF.Data
run.analysis(object, data, dht = FALSE,
point = FALSE, warnings = list())
# S4 method for Simulation,Survey.Results
run.analysis(object, data,
dht = FALSE)
# S4 method for Simulation,DDF.Data
run.analysis(object, data, dht = FALSE)
an object of class Simulation or DDF.Analysis
an object of class Survey.Results or DDF.Data
optional arguments including the following:
logical whether density should be estimated after fitting the model
logical indicating whether it is a point transect survey
a list of warnings and how many times they arose
a list containing an S3 ddf object and optionally an S3 dht object relating to the model with the minimum criteria.