pseudo.pred.norm {QFASA} | R Documentation |
Generate a pseudo predator parametrically from multivariate normal distributions.
Description
Generate a pseudo predator parametrically from multivariate normal distributions.
Usage
pseudo.pred.norm(mu.mat, sigma.pool, diet)
Arguments
mu.mat |
matrix where each row represents the mean transformed FA signature of each prey type |
sigma.pool |
pooled variance-covariance matrix of the transformed fatty acid signatures of prey types |
diet |
the "true" or "desired" diet of the pseudo predator with prey species in the same order as the rows of mu.mat. A compositional vector of proportions that sums to one with length equal to the number of prey species. |
Details
Similar to pseudo.pred but instead generates the pseudo-predators parametrically by assuming ilr transformed FA signatures have a multivariate normal distribution.
Value
A simulated predator FA signature. See pseudo.pred for an example illustrating how to generate a sample of pseudo predators.