| DS.Analysis-class {dsims} | R Documentation |
Class "DS.Analysis"
Description
Class "DDF.Analysis" is an S4 class describing a basic
detection function model to be fitted to distance sampling data.
Slots
dfmodelObject of class
"formula"; describing the detection function model.keykey function to use; "hn" gives half-normal (default), "hr" gives hazard-rate and "unif" gives uniform. Note that if uniform key is used, covariates cannot be included in the model.
adjustmenta list containing adjustment parameters: adjustment - either "cos" (recommended), "herm" or "poly", order - the orders of the adjustment terms to fit, scale - the scale by which the distances in the adjustment terms are divided. See details.
truncationObject of class
"list"; Specifies the truncation distance for the analyses.cutpointsObject of class
"character"; gives the cutpoints of the bins for binned data analysis.er.varspecifies which encounter rate variance estimator to use.
control.optsA list to specify various options including monotonicity, method, initial.values.
group.strataDataframe with two columns ("design.id" and "analysis.id"). The former gives the strata names as defined in the design (i.e. the region object) the second specifies how they should be grouped (into less strata) for the analyses
criteriaObject of class
"character"; describes which model selection criteria to use ("AIC","AICc","BIC").
Methods
run.analysissignature=c(object = "DS.Analysis", data = data.frame): runs the analysis described in the object on the data provided.