Learn R Programming

DLMtool (version 5.2)

SRAcomp: Plot simulation test of Stochastic SRA method

Description

Plots simulation variables versus estimation variables for Stochastic SRA methods of conditioning operating models.

Usage

SRAcomp(sim, OM, outfile = NA, maxplot = 10)

Arguments

sim

The output list object of SRAsim() function.

OM

The output object of StochasticSRA() function.

outfile

The name of the figure (something.jpg) you wish to make using SRAcomp

maxplot

The maximum number of simulations to plot

Examples

Run this code
# NOT RUN {
sim<-SRAsim(testOM,qmult=1,patchy=0.8)
CAA<-sim$CAA
Chist<-sim$Chist
testOM<-StochasticSRA(testOM,CAA,Chist,nsim=30,nits=500)
SRAcomp(sim,testOM) 
# }

Run the code above in your browser using DataLab