CS.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 chi-square distance measure is chosen. Unlike AIT.obj() and KL.obj(), does not require modifying zeros.

Usage

1
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()).


QFASA documentation built on June 15, 2019, 1:03 a.m.