Open MiguelRodo opened 2 years ago
y1 ~ x
, y2 ~ x
, y3 ~ x
and so on.
glmmTMB::glmmTMB
.targets
pipeline, with the following features:
dep
(for dependent variable),
exp(for explanatory variable
, re
(for random effects) and offset
(for offset variables). dep = "y1"
means that the dependent variable is in column y1
of the dataframe.exp = "x1"
means that the explanatory variable is in column x2
of the dataframe.exp = c("x1", "x2")
means that the explanatory variables are x1 + x2
.exp = list("cn_orig" = "x1", trans = log)
means that the explanatory variable is x1
and must be logged.exp = list("cn_orig" = "x1", "cn_new" = "x1_log", trans = log)
means that the explanatory variable is based on x1
that is logged and saved as a new variable x1_log
.
Tasks