plot | R Documentation |
Method to plot bbm fitting, if applied to a bbmFit
object. The output are several plots.
Firstly, the estimated abundance and next the fitted versus observed indices (with one plot for each survey).
Note that in plots related to indices the yaxis doesn't has a scale.
The visual is about the difference between the two lines, not about the value of each line, which in any case would be very difficult to assess visually.
Method to produce scatterplots of Pearson residuals of survey indices, if applied to a bbmFitresiduals
object.
## S4 method for signature 'bbmFit,missing' plot(x, y, ...) ## S4 method for signature 'bbmFitresiduals,missing' plot(x, y = missing, auxline = "smooth", ...)
x |
An |
y |
Ignored. |
... |
Additional argument list. |
auxline |
A string defining the type of line to be added, by default uses 'smooth', a common alternative is to use 'r', a regression, or leave it empty ”. |
If class(x)=='bbmFit'
, a plot
with estimated abundances and one extra plot
for each survey with fitted and observed indices.
If class(x)=='bbmFitresiduals'
, a plot
with stardardized residuals.
# Load data data(ane) # Run the assessment obj <- bbm( catch.ane, indicesB=indicesB.ane, indicesP=indicesP.ane, control=control.ane, inits=inits.ane) # Plot the output plot(obj) # Residuals res <- residuals(obj) plot(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.