anlz_mixmeta {wqtrends} | R Documentation |
Fit a mixed meta-analysis regression model of trends
Description
Fit a mixed meta-analysis regression model of trends
Usage
anlz_mixmeta(metseason, yrstr = 2000, yrend = 2019, yromit = NULL)
Arguments
metseason |
output from |
yrstr |
numeric for starting year |
yrend |
numeric for ending year |
yromit |
optional numeric vector for years to omit from, inherited from |
Details
Parameters are not back-transformed if the original GAM used a transformation of the response variable
Value
A list of mixmeta
fitted model objects
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')
metseason <- anlz_metseason(mod, doystr = 90, doyend = 180)
anlz_mixmeta(metseason, yrstr = 2016, yrend = 2019)
[Package wqtrends version 1.4.2 Index]