plot_qq: Plot quantiles versus theoretical quantiles

View source: R/plot_qq.R

plot_qqR Documentation

Plot quantiles versus theoretical quantiles

Description

Plot quantiles versus theoretical quantiles as was originally done in VAST prior to their use of DHARMa residual diagnostics. Functionality is limited to lognormal and gamma distributions for a single species or group. The 1:1 line is automatically added to the figure to aid in performing the fat-pen test to determine if your distributional assumption fits your data.

Usage

plot_qq(outdir, model)

Arguments

outdir

The directory where you would like to save the resulting figure, which will be named VASTWestCoast_QQ.png.

model

The list of model specifications and results, typically available in the Save.RData file and produced by VAST_do.

Author(s)

Kelli F. Johnson

See Also

Users will not typically interact with this function, but will instead benefit from it being called in VAST_diagnostics.


nwfsc-assess/VAST_WestCoast documentation built on July 4, 2023, 5:45 p.m.