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

Description Usage Arguments

Description

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

Usage

1
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 June 15, 2019, 1:03 a.m.