View source: R/plot.dharma.resid.r
Plot DHARMa style residuals for VAST model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | plot.dharma.resid(
vast.output,
n.samp = 999999,
seed = 123,
plot.type = "all",
palette.cols = c("royalblue3", "deepskyblue1", "gold", "orange1", "indianred1",
"firebrick2", "#AC2020"),
smooth.span = 0.1,
ts.start = 1952,
ts.step = 0.25,
factor.grouping = 5,
save.dir,
save.name
)
|
vast.output |
The output from a fit.vast function call |
n.samp |
Integer giving the number of records to plot the QQ relationship. Default is to use everyting. |
seed |
The random seed for the subsampling |
plot.type |
The type of metric to plot 'all', 'time', or 'knot', if you want to plot QQ by factor.
|
palette.cols |
A color palette to use for plotting |
smooth.span |
Value between 0 and 1. Degree of smoothing to use for the QQ plot |
ts.start |
Integer giving the first year of the model |
ts.step |
The timestep of the model 1 for year and 0.25 for quarter |
save.dir |
Path to the directory where the outputs will be saved |
save.name |
Name stem for the output, useful when saving many model outputs in the same directory |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.