predict.tramTMB: Post-estimation calculations in a tramTMB model

View source: R/tramTMB.R

predict.tramTMBR Documentation

Post-estimation calculations in a tramTMB model

Description

Post-estimation calculations in a tramTMB model

Usage

## S3 method for class 'tramTMB'
predict(
  object,
  newdata,
  parameters = .get_par(object, full = TRUE),
  scale = c("lp", "trafo"),
  cov = FALSE,
  as.lm = FALSE,
  ...
)

Arguments

object

A tramTMB object

newdata

A named list with elements Y, X and Z (not all necessary)

parameters

A named list of parameter values

scale

The scale on which the post-estimation calculations are done

cov

Logical; If TRUE, calculate the full covariance matrix of the calculated values

as.lm

Logical; reparameterize as a LMM

...

Optional arguments (ignored).


tramME documentation built on July 9, 2023, 7:10 p.m.