Learn R Programming

mrds (version 2.3.0)

setinitial.ds: Set initial values for detection function based on distance sampling

Description

For a given detection function, it computes the initial values for the parameters including scale and shape parameters and adjustment function parameters if any. If there are user-defined initial values only the parameters not specified by the user are computed.

Usage

setinitial.ds(ddfobj, width, initial, point, left)
       sethazard(ddfobj, dmat, width, left, point)

Value

scale

vector of initial scale parameter values

shape

vector of initial shape parameter values

adjustment

vector of initial adjustment function parameter values

Arguments

ddfobj

distance detection function object

width

half-width of transect or radius of point count

initial

list of user-defined initial values with possible elements: scale, shape, adjustment

point

if TRUE, point count data; otherwise, line transect data

left

left truncation

dmat

xmat from ddfobj

Author

Jeff Laake, David L Miller