Learn R Programming

EGRET (version 3.0.12)

precompute_L: precompute_L

Description

Builds the bidiagonal Cholesky factor of the tridiagonal PRECISION matrix shared by every call of genmissing for a given value of rho.

Usage

precompute_L(rho, N_max)

Value

named list with elements Ldiag a numeric vector of the diagonal of the Cholesky factor and Lsub a numeric vector of the subdiagonal of the Cholesky factor

Arguments

rho

the lag one autocorrelation

N_max

the maximum number of days between samples