plotstand | R Documentation |
plot optimum model from standLM vs Geometric mean. Has options that allow for log-normls P period's parameter estimate. Also can rescale the graph to have an average the same as the geometric mean average of the original time series of data.
plotstand(stnd, bars = FALSE, geo = 0, P = 95, catch = NA, usefont = 7)
stnd |
is the list output from standLM |
bars |
is a logical T or F determining whether to put confidence bounds around each estimate; defaults to FALSE |
geo |
is an estimate of the original geometric mean catch rate across all years. If this is > 0.0 it is used to rescale the graph to the nominal scale, otherwise the mean of each time-series will be 1.0, which simplifies visual comparisons. geo defaults to 0.0. |
P |
is the percentile used for the log-normal confidence bounds, if they are plotted; defaults to 95. |
catch |
if it is desired to plot the catch as well as the CPUE then a vector of catches needs to be input here |
usefont |
enables the font used in the plot to be modified. Most publications appear to prefer usefont=1; defaults to 7 - Times bold |
a plot of the model with the smallest AIC (solid line) and the geometric mean (model 1, always = LnCE ~ Year, the dashed line). 'Year' could be some other time step.
## Not run:
data(abeg)
splabel = "SpeciesName"
labelM <- c("year","diver","month")
ab1 <- makecategorical(labelM[1:3],abeg)
mods <- makemodels(labelM)
out <- standLM(mods,ab1,splabel)
plotprep()
plotstand(out, bars=TRUE, P=90,geo=100.0,usefont=1)
plotstand(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.