procerr.plot.Rd
Generate plots that inform on process error in the SAM assessment model
procerr.plot(stck, weight = "stock.wt", type = "n", rel = F)
An FLStock object
Option to choose between stock.wt and catch.wt
Option to choose between observation error related to N-at-age ('n'), mortality ('mort') or total biomass ('tsb')
Logical. Express error relative or absolute
A picture is returned
library(FLSAM)
data(NSH)
procerr.plot(NSH,type="n")
procerr.plot(NSH,type="n",rel=TRUE)
procerr.plot(NSH,type="mort")
procerr.plot(NSH,type="mort",rel=TRUE)
procerr.plot(NSH,type="tsb",weight="catch.wt",rel=FALSE)
procerr.plot(NSH,type="tsb",weight="catch.wt",rel=TRUE)
procerr.plot(NSH,type="tsb",weight="stock.wt",rel=FALSE)
procerr.plot(NSH,type="tsb",weight="stock.wt",rel=TRUE)