- formula
formula specifying the response variable and a three-part
right-hand-side describing the regressors, random effects, and
partitioning variables, respectively. For details see below.
- data
data.frame to be used for estimating the model tree.
- family
currently not used. The default beta distribution parameterization
of package betareg
is used, see also ?glmmTMB::beta_family.
- weights
numeric. An optional numeric vector of weights. Can be a
name of a column in data or a vector of length nrow(data)
.
- cluster
currently not used.
- ranefstart
currently not used.
- offset
optional numeric vector to be included in the linear predictor
with a coeffcient of one. Note that offset
can be a name of a column
in data
or a a numeric vector of length nrow(data)
.
- joint
currently not used. Fixed effects from the tree are
always (re-)estimated jointly along with the random effects.
- abstol
numeric. The convergence criterion used for estimation of the model.
When the difference in log-likelihoods of the random-effects model from two
consecutive iterations is smaller than abstol
, estimation of the
model tree has converged.
- maxit
numeric. The maximum number of iterations to be performed in
estimation of the model tree.
- dfsplit
logical or numeric. as.integer(dfsplit)
is the
degrees of freedom per selected split employed when extracting
the log-likelihood.
- verbose
Should the log-likelihood value of the estimated
random-effects model be printed for every iteration of the estimation?
- plot
Should the tree be plotted at every iteration of the estimation?
Note that selecting this option slows down execution of the function.
- REML
logical scalar. Should the fixed-effects estimates be chosen to
optimize the REML criterion (as opposed to the log-likelihood)? Will be
passed to funtion glmmTMB()
. See glmmTMB
for details.
- glmmTMB.control
list. An optional list with control
parameters to be passed to glmmTMB()
.
See glmmTMBControl
for details.
- ...
Additional arguments to be passed to lmtree()
or glmtree()
.
See mob_control
documentation for details.