jbplot_runstest | R Documentation |
Residual diagnostics with runs test p-value and 3xsigma limits
jbplot_runstest(
jabba,
index = NULL,
mixing = "less",
output.dir = getwd(),
add = FALSE,
as.png = FALSE,
single.plots = add,
width = NULL,
height = NULL,
verbose = TRUE
)
jabba |
output list from fit_jabba |
index |
option to plot specific indices (numeric & in order) |
mixing |
c("less","greater","two.sided"). Default "less" is checking for positive autocorrelation only |
output.dir |
directory to save plots |
add |
if true par() is surpressed within the plot function |
as.png |
save as png file of TRUE |
single.plots |
if TRUE plot invidual fits else make multiplot |
width |
plot width |
height |
plot hight |
verbose |
silent option |
data(iccat)
bet= iccat$bet
jb = build_jabba(catch=bet$catch,cpue=bet$cpue,se=bet$se,assessment="BET",scenario = "Ref",model.type = "Pella",igamma = c(0.001,0.001),verbose=FALSE)
fit = fit_jabba(jb,quickmcmc=TRUE,verbose=FALSE)
jbrunstest(fit)
jbrunstest(fit,index=2)
jbplot_runstest(fit,verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.