integrateKey: Compute and print distance function integration

View source: R/integrateKey.R

integrateKeyR Documentation

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, f0, plot = FALSE)

Arguments

ml

The fitted object or model list

key

The scaled distance function.

f0

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

plot

Logical scalar. If TRUE, plot a diagnostic consisting of the distance function and approximating points we use for quadrature.

Value

Nothing. Prints information on integrals to the screen.


Rdistance documentation built on Jan. 10, 2026, 1:07 a.m.