anlz_prdday {wqtrends} | R Documentation |
Get predicted data from fitted GAMs across period of observation, every day
Description
Get predicted data from fitted GAMs across period of observation, every day
Usage
anlz_prdday(mod)
Arguments
mod |
input model object as returned by |
Value
a data.frame
with predictions
Examples
library(dplyr)
# data to model
tomod <- rawdat %>%
filter(station %in% 34) %>%
filter(param %in% 'chl') %>%
filter(yr > 2015)
mod <- anlz_gam(tomod, trans = 'log10')
anlz_prdday(mod)
[Package wqtrends version 1.4.2 Index]