View source: R/plot.vast.influ.r
Influence plot for fitted model from fit.vast. Currently assumes only one set of interactions and no splines on catchability.
1 2 3 4 5 6 7 8 9 10 11 | plot.vast.influ(
vast.output,
model.start.year = 1952,
coef.names = c("flg.grp", "syn.hbf.imb"),
level.names = c("Flag group", "HBF (pred)"),
error.structure = "dln",
pt.alpha = 0.2,
smooth.span = 0.1,
save.dir,
save.name
)
|
vast.output |
The output from a fit.vast function call |
model.start.year |
An integer denoting the first year of data used in the model |
coef.names |
Character vector of the factors used to create Q_ik |
level.names |
Character vector of how to name the factors in the plot |
error.structure |
Character string denoting the error structure used to fit the model. This is needed to backtransform the parameter estimates. |
pt.alpha |
alpha transparency of quarterly points or uncertainty band. |
smooth.span |
Degree of smoothing used. Value between 0 and 1, where closer to 1 is more smooth. |
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.