anlz_fit | R Documentation |
Return summary statistics for GAM fits
anlz_fit(mod)
mod |
input model object as returned by |
Results show the overall summary of the model as Akaike Information Criterion (AIC
), the generalized cross-validation score (GCV
), and the R2
values. Lower values for AIC
and GCV
and higher values for R2
indicate improved model fit.
A data.frame
with summary statistics for GAM fits
library(dplyr)
# data to model
tomod <- rawdat %>%
filter(station %in% 34) %>%
filter(param %in% 'chl')
mod <- anlz_gam(tomod, trans = 'log10')
anlz_fit(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.