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

View source: R/setinitial.ds.R

setinitial.dsR Documentation

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)

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

Value

scale

vector of initial scale parameter values

shape

vector of initial shape parameter values

adjustment

vector of initial adjustment function parameter values

Author(s)

Jeff Laake, David L Miller


mrds documentation built on May 29, 2024, 3:56 a.m.