Skip to contents

ranef() returns conditional random-effect estimates for one fitted random effect block, or all fitted random-effect blocks when dpar = NULL.

Usage

ranef(object, ...)

# S3 method for class 'drmTMB'
ranef(object, dpar = NULL, ...)

Arguments

object

A drmTMB fit.

...

Reserved for future extractor options.

dpar

Optional random-effect block name, such as "mu", "sigma", "phylo_mu", or "spatial_mu".

Value

A named list of random-effect blocks when dpar = NULL, otherwise one random-effect block.

Details

The returned blocks use the internal drmTMB structure: values are on the model scale, latent are the corresponding standard-normal latent effects, and terms split model-scale values by random-effect term.