Sl.setup {mgcv}R Documentation

Setting up a list representing a block diagonal penalty matrix

Description

INTERNAL function for setting up a list representing a block diagonal penalty matrix from the object produced by gam.setup.

Usage

Sl.setup(G,cholesky=FALSE,no.repara=FALSE,sparse=FALSE,keepS=FALSE)

Arguments

G

the output of gam.setup.

cholesky

re-parameterize using Cholesky only.

no.repara

set to TRUE to turn off all initial reparameterization.

sparse

sparse setup?

keepS

store original penalties in S0? (after any splitting of multiple penalties into singletons, but before reparameterization)

Value

A list with an element for each block. For block, b, Sl[[b]] is a list with the following elements

Author(s)

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


[Package mgcv version 1.9-3 Index]