Post-estimation calculations in a tramTMB model
# S3 method for tramTMB
predict(
object,
newdata,
parameters = .get_par(object, full = TRUE),
scale = c("lp", "trafo"),
cov = FALSE,
as.lm = FALSE,
...
)
A tramTMB
object
A named list with elements Y, X and Z (not all necessary)
A named list of parameter values
The scale on which the post-estimation calculations are done
Logical; If TRUE
, calculate the full covariance matrix
of the calculated values
Logical; reparameterize as a LMM
Optional arguments (ignored).