powered by
Return summary statistics for GAM fits
anlz_fit(mod)
A data.frame with summary statistics for GAM fits
data.frame
input model object as returned by anlz_gam
anlz_gam
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.
AIC
GCV
R2
library(dplyr) # data to model tomod <- rawdat %>% filter(station %in% 34) %>% filter(param %in% 'chl') mod <- anlz_gam(tomod, trans = 'log10') anlz_fit(mod)
Run the code above in your browser using DataLab