Description Usage Arguments Value
This function takes the output from the DM model and creates a rav file that can be used forrunning the VRAP simulations. The parameter simInd indicates which MCMC sim to use. This takes the information from the input file in the DM spreadsheet (read in by readDMData) and the results of the MCMC simulations. Current version has no uncertainty in management error and base exploitation rate must be included as a parameter. This could be calculated with the SR params, maturation rates, natMort, and harvest.
1 2 | createRAVfile(bdat, input, tDat, dat, filename = "temp_rav.rav",
estType = "median", sim = 1, rav.options = list())
|
bdat |
data for the bayesian specification of a DM run |
input |
a list with the other values needed for a DM run. The following are examples naturalMort, analysisType = "DM", SRfunction, includeMarineSurvival, includeFlow |
tDat |
a data frame of the transformed posteriors and calculated process error and Smsy for each draw. From calculatePEandSmsy(). This is specifically for VRAP input. The productivity (a) and capacity (b) posteriors are not adjusted (centered) if the covariates do not have 0 mean. VRAP needs the SR parameters in this raw form using non-centered (de-meaned) covariates. |
dat |
data from the A & P file |
filename |
name to give the rav file |
estType |
("median") |
sim |
indicates which MCMC sim from the posteriors to use if estType is not median |
rav.options |
list of the rav file options to use that do not come from the posteriors.
|
nothing is returned but the rav file is written.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.