logistic.start.limits: logistic.start.limits - Start and limit values for logistic...

View source: R/logistic.start.limits.R

logistic.start.limitsR Documentation

logistic.start.limits - Start and limit values for logistic distance function

Description

Starting values and limits for parameters of the logistic distance function.

Usage

logistic.start.limits(dist, covars, expansions, w.lo, w.hi)

Arguments

dist

A numeric vector containing observed distances with measurement units.

covars

Data frame containing values of covariates at each observation in dist.

expansions

A scalar specifying the number of terms in series. Depending on the series, this could be 0 through 5. The default of 0 equates to no expansion terms of any type.

w.lo

Scalar value of the lowest observable distance, with measurement units. This is the left truncation sighting distance. Values less than w.lo are allowed in dist, but are ignored and their likelihood value is set to NA in the output.

w.hi

Scalar value of the largest observable distance, with measurement units. This is the right truncation sighting distance. Values greater than w.hi are allowed in dist, but are ignored and their likelihood value is set to NA in the output.

Details

This function is usually called within F.start.limits.

Value

A list containing the following components:

  • start : a vector of starting values

  • lowlimit : a vector of lower limits (can be -Inf)

  • highlimit : a vector of upper limits (can be Inf)

  • nms : a vector containing names of the parameters


Rdistance documentation built on July 9, 2023, 6:46 p.m.