tests/testthat/helper-model.R

library(wqtrends)

# data to model
tomod <- subset(rawdat, rawdat$station == 34 & rawdat$param == 'chl' & yr > 2015)

# test model
mod <- anlz_gam(tomod, trans = 'log10')

# test model ident
modident <- anlz_gam(tomod, trans = 'ident')

Try the wqtrends package in your browser

Any scripts or data that you put into this service are public.

wqtrends documentation built on Sept. 11, 2024, 9:04 p.m.