plot metrics of multiple fits | R Documentation |
Method to plot fitting statistics of multiple fits, useful to compare fits.
## S4 method for signature 'a4aFits,missing'
plot(x, y = missing, ...)
x |
an |
y |
ignored |
... |
additional argument list that might never be used |
a plot
with fitting statistics
data(ple4)
data(ple4.index)
qmods <- list(list(~s(age, k=6)))
fmods = list()
for(i in 1:6) {
fmods[[paste0(i)]] <-
as.formula(
paste0("~te(age, year, k = c(6,", i+14,"), bs = 'tp') + s(age, k = 6)")
)
}
myFits <-
scax(
FLStocks(ple4), list(FLIndices(ple4.index)),
fmodel = fmods, qmodel=qmods, fit="MP"
)
plot(myFits)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.