plotAdvice | R Documentation |
plotAdvice Plots stochastic stock dynamics against refpts for constant Fsim()
plotAdvice(
object,
rpts = "missing",
type = NULL,
plotrefs = TRUE,
probs = c(0.05, 0.2, 0.5, 0.8, 0.95),
colour = "dodgerblue",
ncol = NULL,
label.size = 2.5
)
type |
age-structured "asm" or surplus production "spm" plotting style |
plotrefs |
if TRUE reference points are plotted |
probs |
determine credibility intervals, default 80th, 90th percentiles #' @param ncol number of plot panel columns |
colour |
color of CIs |
label.size |
size of refpts labels |
stock |
FLStock or FLStockR |
refpts |
as FLPar or Fbrp() if FLStockR is not provided or should be overwritten |
ggplot
data(ple4)
srr = srrTMB(as.FLSR(ple4,model=rickerSV),spr0=spr0y(ple4))
brp = computeFbrp(stock=ple4,sr=srr,proxy=c("sprx","f0.1","fe40"),blim=0.1,type="b0")
plotAdvice (ple4,brp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.