ranef.vcmm_fit: Random effects of a VCMM, reshaped by re_cov structure

View source: R/methods.R

ranef.vcmm_fitR Documentation

Random effects of a VCMM, reshaped by re_cov structure

Description

For re_cov = "diag", returns a named numeric vector of length q. For "kronecker" and "separable", reshapes \hat\alpha into a G \times q_{\mathrm{left}} matrix (column-stacking convention used throughout the package). Row names are "g1", ..., "gG"; column names are c("origin", "dest") when re_cov = "kronecker" and q_left = 2, and "k1", ..., "kK" otherwise.

Usage

## S3 method for class 'vcmm_fit'
ranef(object, ...)

Arguments

object

A vcmm_fit object.

...

Unused.

Value

Numeric vector ("diag") or numeric matrix ("kronecker" / "separable").

See Also

coef.vcmm_fit, fixef.vcmm_fit.


cevcmm documentation built on July 24, 2026, 5:07 p.m.