anlz_fit {wqtrends} | R Documentation |
Return summary statistics for GAM fits
Description
Return summary statistics for GAM fits
Usage
anlz_fit(mod)
Arguments
mod |
input model object as returned by |
Details
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.
Value
A data.frame
with summary statistics for GAM fits
Examples
library(dplyr)
# data to model
tomod <- rawdat %>%
filter(station %in% 34) %>%
filter(param %in% 'chl')
mod <- anlz_gam(tomod, trans = 'log10')
anlz_fit(mod)
[Package wqtrends version 1.4.2 Index]