make_quadrature_grid_mvn: Multivariate normal quadrature grid with Cholesky-stabilised...

View source: R/tools-mcmc.R

make_quadrature_grid_mvnR Documentation

Multivariate normal quadrature grid with Cholesky-stabilised weights

Description

Used by all continuous-trait logLik() methods.

Usage

make_quadrature_grid_mvn(
  Corr,
  theta.mu,
  D,
  L = NULL,
  theta.low = -6,
  theta.up = 6
)

Arguments

Corr

D x D correlation matrix (can be NULL for identity).

theta.mu

Numeric vector of length D (latent mean).

D

Number of dimensions.

L

Number of quadrature points per dimension, or NULL to auto-select from a built-in table.

theta.low, theta.up

Quadrature range.

Value

A list with theta.norm (grid matrix) and pi (normalised prior-weight column vector).


ForceChoice documentation built on Sept. 13, 2026, 1:06 a.m.