CS.obj {QFASA}R Documentation

Used in solnp() as the objective function to be minimized when chi-square distance measure is chosen. Unlike AIT.obj() and KL.obj(), does not require modifying zeros.

Description

Used in solnp() as the objective function to be minimized when chi-square distance measure is chosen. Unlike AIT.obj() and KL.obj(), does not require modifying zeros.

Usage

CS.obj(alpha, predator, prey.quantiles, gamma)

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.

gamma

power transform exponent (see chisq.dist()).


[Package QFASA version 1.2.0 Index]