plot.gadget.fit | R Documentation |
Plot Gadget fit
## S3 method for class 'gadget.fit' plot(x, ...)
x |
results from gadget fit |
... |
Can include
|
Plot the results from gadget.fit. The function produces a different plots by datatype and plottype. Valid datatypes are:
Surveyindices
Likelihood summary data
Catchdistribution data
Stockdistribution data
Results by year
Age composition from the model
Suitability estimated from the model by year and step
Parameter values relative to their boundaries
and valid plottypes are:
Default value, plots direct comparisons of data with model output. Valid for all datatype except 'res.by.year'
Only for 'summary'. Plots the weighted likelihood value for each component.
Only for 'summary'. Plots the likelihood composition as a pie chart
Only for 'sidat'. Plot the surveyindex based on the SI length group instead of component name.
Only for 'sidat'. Plot the biomass weighted survey index, assumes length based abundance index.
Only for 'sidat'. Produces a x-y scatter-plot for the fitted and observed index.
Only for 'catchdist.fleets'. Produces a residual plot for each component.
Only for 'catchdist.fleets'. Produces a bubble plot for each component.
Only for 'catchdist.fleets'. Produces a plot of fitted growth for each age-length component.
Only for 'catchdist.fleets'. Produces a residual plot for each component.
Only for 'res.by.year'. Produces a F plot by stock.
Only for 'res.by.year'. Produces a total biomass plot by stock.
Only for 'res.by.year'. Produces a total catch plot by stock.
Only for 'res.by.year'. Produces a recruitment biomass plot by stock.
ggplot2::ggplot object
Bjarki Þór Elvarsson
## Not run: ## collect the data from gadget fit <- gadget.fit() ## plot survey indices plot(fit) ## plot likelihood plot(fit,data='summary') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.