KL.obj: Used in 'solnp()' as the objective function to be minimized...

KL.objR Documentation

Used in solnp() as the objective function to be minimized when Kullback–Leibler distance measure is chosen.

Description

Used in solnp() as the objective function to be minimized when Kullback–Leibler distance measure is chosen.

Usage

KL.obj(alpha, predator, prey.quantiles)

Arguments

alpha

vector over which minimization takes place.

predator

fatty acid signature of predator.

prey.quantiles

matrix of fatty acid signatures of prey. Each row contains an individual prey signature from a different species.


QFASA documentation built on Nov. 17, 2023, 1:08 a.m.