ldetS {mgcv}R Documentation

Getting log generalized determinant of penalty matrices

Description

INTERNAL function calculating the log generalized determinant of penalty matrix S stored blockwise in an Sl list (which is the output of Sl.setup).

Usage

ldetS(Sl, rho, fixed, np, root = FALSE, repara = TRUE, nt = 1,deriv=2)

Arguments

Sl

the output of Sl.setup.

rho

the log smoothing parameters.

fixed

an array indicating whether the smoothing parameters are fixed (or free).

np

number of coefficients.

root

indicates whether or not to return the matrix square root, E, of the total penalty S_tot.

repara

if TRUE multi-term blocks will be re-parameterized using gam.reparam, and a re-parameterization object supplied in the returned object.

nt

number of parallel threads to use.

deriv

order of derivative to use

Value

A list containing:

Author(s)

Simon N. Wood <simon.wood@r-project.org>.


[Package mgcv version 1.8-31 Index]