QFASA1.2.1 package

Quantitative Fatty Acid Signature Analysis

POOLVARmeth

Computes within species variance-covariance matrices on transformed sc...

prey.cluster

Produces a dendrogram using distances between the mean FA signatures o...

prey.on.prey

Each prey fatty acid signature is systematically removed from the supp...

pseudo.pred.norm

Generate a pseudo predator parametrically from multivariate normal dis...

pseudo.pred

Generate a pseudo predator by sampling with replacement from prey data...

pseudo.pred.rep

FUNCTION TO GENERATE ns PSEUDO SEALS WHERE ns IS THE NUMBER OF ROWS IN...

pseudo.pred.table

FUNCTION TO GENERATE ns SEALS FOR EACH OF ny YEARS

bestSubset

Find the pair of starting species with the best (lowest) IC value amon...

bestForwardModel

Finds the species combination with the best# (lowest) IC value achieva...

beta.meths.CI

Returns individual confidence intervals and simultaneous confidence in...

AIT.dist

Returns the distance between two compositional vectors using Aitchison...

AIT.more

Used to provide additional information on various model components eva...

AIT.obj

Used in solnp() as the objective function to be minimized when Aitch...

backward.elimination

Returns diet estimates corresponding to a sample of predators based on...

bal.rep.CI

Measure of Repeatability for Diet Estimates (Balanced Case)

bestBackwardModel

Finds the species combination with the best (lowest) IC value achievab...

beta.pval.k

Calculate p-value of a given prey type diet proportion under the preda...

bias.all

Calculate bias correction for confidence intervals from `beta.meths.CI...

bias.comp

Calculate bias correction for confidence intervals.

bisect.beta.lim

Find simultaneous and individual confidence intervals for diet proport...

chisq.CA

Called by create.d.mat() to compute the chi-square distance.

chisq.dist

Returns the distance between two compositional vectors using the chi-s...

comp.beta.pval.k

Calculate p-value corresponding to a specified null value using bootst...

comp.gen.pseudo.seals

Generate pseudo predators with ith predator having true diet given by ...

comp.p.beta

Bootstrap statistic function: in this case it is the mean (meanBEZI) o...

comp.rep

Repeatability in Diet Estimates

comp.Tstar.beta

Generate bootstrap replicates of diet proportion estimates for given p...

conf.meth

Confidence Intervals for Diet Proportions

create.d.mat

Called by testfordiff.ind.boot.fun() to create a matrix of distances...

cs_distance.mat

CALCULATE CS DISTANCE BETWEEN EACH TWO PREDATORS IN dataset

CS.more

Used to provide additional information on various model components eva...

CS.obj

Used in solnp() as the objective function to be minimized when chi-s...

data.sim.beta

Bootstrap ran.gen function:

dummy

Roxygen commands

evaluateCombination

Get nll and IC values for a pair of species (this is used in forward s...

evaluateModel

Get nll and IC values for a given model (note that the model is determ...

forward.selection

Returns diet estimates corresponding to a sample of predators based on...

gen.pseudo.seals

Generate pseudo predators with ith predator having true diet given by ...

KL.dist

Returns the distance between two compositional vectors using Kullback-...

KL.more

Used to provide additional information on various model components eva...

KL.obj

Used in solnp() as the objective function to be minimized when Kullb...

likelihoodEstimates

Get simplified MLE estimates

mean_geometric

Returns the geometric mean of a compositional vector

MEANmeth

Returns the multivariate mean FA signature of each prey group entered ...

mod.zeros.FA.sig.mat

Modifies the zeros for a sample of FA signatures using the multiplicat...

mod.zeros.FA.sig

Modifies the zeros for a single FA signature using the multiplicative ...

multiplicativeReplacement

Multiplicative replacement of zeroes

opt.beta.lim

Find simultaneous confidence intervals for diet proportions of a singl...

p.beta

Bootstrap statistic function: in this case it is the mean (meanBEZI) o...

p.MLE

Returns simplified MLE diet estimates corresponding to a sample of pre...

p.MUFASA

Returns MUFASA diet estimates corresponding to a sample of predators.

p.QFASA

Returns QFASA diet estimates corresponding to a sample of predators.

p.sim.QFASA

Simultaneous estimation of diet composition and calibration coefficien...

p.SMUFASA

Simultaneous maximum unified fatty acid signature analysis

pseudo.seal

Generate a single pseudo predator FA signature

QFASA.const.eqn

Returns sum(alpha) and used in solnp().

QFASA

QFASA: A package for Quantitative Fatty Acid Signature Analysis

rho.boot.fun

RETURNS RHO AND THE BOOTSTRAP SAMPLE DETERMINED BY ind.

rho.jack.fun

FUNCTION TO BE PASSED TO bootstrap::jackknife.

root.beta

Find root (i.e. solve f(pio) = PVAL(pio) = alpha1 using either uniroot...

split_prey

Splits prey database into a simulation set (1/3) and a modelling set (...

testfordiff.ind.boot.fun

Called by testfordiff.ind.boot().

testfordiff.ind.boot

Called by testfordiff.ind.pval().

testfordiff.ind.pval

Test for a difference between two independent samples of compositional...

Tstar.beta

Generate bootstrap replicates of diet proportion estimates for given p...

two.factor.rep

Measure of (unadjusted) repeatability

unbal.rep.CI

Measure of Repeatability for Diet Estimates (Unbalanced/Missing Value ...

unbal.rho.boot.fun

RETURNS RHO AND THE BOOTSTRAP SAMPLE DETERMINED BY ind.

unbal.rho.jack.fun

FUNCTION TO BE PASSED TO bootstrap::jackknife.

unbal.two.factor.rep

Measure of (unadjusted) repeatability with missing values

uniroot.beta

Use uniroot() to find roots and compare with bisection outcome

zeroEstimates

Reintroduce excluded species to diet estimates as forced zeroes

Accurate estimates of the diets of predators are required in many areas of ecology, but for many species current methods are imprecise, limited to the last meal, and often biased. The diversity of fatty acids and their patterns in organisms, coupled with the narrow limitations on their biosynthesis, properties of digestion in monogastric animals, and the prevalence of large storage reservoirs of lipid in many predators, led to the development of quantitative fatty acid signature analysis (QFASA) to study predator diets.

  • Maintainer: Connie Stewart
  • License: MIT + file LICENSE
  • Last published: 2024-08-27