Learn R Programming

Rdistance (version 4.1.1)

integrateKey: Compute and print distance function integration

Description

Check several integration characteristics, and report them to screen. This was designed to print info when user asks for higher verbose level. The scaled distance function should integrate to 1.0 every iteration of maximization, and this function checks that.

Usage

integrateKey(ml, key, likExpan, f0)

Value

Nothing. Prints information on integrals to the screen.

Arguments

ml

The fitted object or model list

key

The scaled distance function.

likExpan

A string specifying the current estimation case. Format of the string is <likelihood>_<num expansions>_<points?>. E.g., "halfnorm_0_FALSE" specifies halfnormal, no expansions, and line transect data.

f0

The value of f(0) when integrating line transects. This should be the ESW for the case.