pseudo.seal: Generate a single pseudo predator FA signature

Description Usage Arguments Value

Description

THIS IS THE NEW pseudo.seal FUNCTION THAT ALLOWS 1) FAT CONTENT TO BE INCLUDED IN THE GENERATED SEALS AND 2) SOME SPECIES TO BE TRULY ZERO (THAT IS,"ZERO SPECIES" DO NOT HAVE TO BE INCLUDED IN THE "NOISE" ) NOTE: IT IS ASSUMED THAT SUM(DIET) IS 1-NOISE

Usage

1
pseudo.seal(prey.sim, diet, noise, nprey, cal, fat.cont, specify.noise)

Arguments

prey.sim

OUTPUT OF split.prey

diet

DIET COMPOSITION VECTOR (NOTE: THIS VECTOR SHOULD SUM TO 1-NOISE. THE NOISE WILL BE ADDED TO THE diet VECTOR.)

noise

AMOUNT OF NOISE

nprey

nprey TOTAL NUMBER OF PREY TO BE SAMPLED

cal

CALIBRATION FACTORS

fat.cont

VECTOR OF FAT CONTENT OF LENGTH=I (# OF SPECIES)

specify.noise

A BOOLEAN VECTOR WITH TRUES DENOTING SPECIES TO USE IN NOISE.

Value

seal.star SIMULATED SEAL FA SIGNATURE.


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