draw.priors: Draw samples from the prior distribution as defined by...

Description Usage Arguments Value

Description

Draw samples from the prior distribution as defined by biological parameters from FishLife and initial depletion distribution.

Usage

1
draw.priors(N, penalties, Kprior, Catch, Taxon, Kscale = 2)

Arguments

N

Number of draws

penalties

A list of penalties, see ?run.SIR for more information.

Kprior

Maybe a multiplier on K?

Catch

Vector of catch

Taxon

A list with taxonomic information, including 'Class', 'Order', 'Family', 'Genus', 'Species'. Any blanks will be converted to 'predictive' internally when querying FishLife.

Kscale

Scalar to control the initial biomass which is generated as runif(N, Carry/Kscale, Carry*Kscale) where Carry=Kprior*max(Catch).

Value

A list that contains 'draws', a data.frame with N random draws from all priors, and 'Taxon' which is a character string that is returned from the FishLife query match.


colemonnahan/sraplus documentation built on May 14, 2019, 3:10 a.m.