View source: R/All_MUFASA_Code.R
pseudo.pred.norm | R Documentation |
Generate a pseudo predator parametrically from multivariate normal distributions.
pseudo.pred.norm(mu.mat, sigma.pool, diet)
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. |
Similar to pseudo.pred but instead generates the pseudo-predators parametrically by assuming ilr transformed FA signatures have a multivariate normal distribution.
A simulated predator FA signature. See pseudo.pred for an example illustrating how to generate a sample of pseudo predators.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.