Learn R Programming

MortalitySmooth (version 1.0)

MortSmooth.BcoefB: Multiply a matrix (from a kronecker product) by a matrix

Description

This is an internal function of package MortalitySmooth which compute the linear predictor and the RHS of the IWLS algorithm for 2D penalized B-splines within the function Mort2Dsmooth.

Usage

MortSmooth.BcoefB(X1, X2, mat)

Arguments

X1
First marginal matrix.
X2
Second marginal matrix.
mat
matrix to be multiplied.

Value

  • A matrix that multiplies X1 by mat and the transpose of X2.

Details

Internal function used for compution elements within the Mort2Dsmooth function.

See Also

Mort2Dsmooth, Mort2Dsmooth.estimate.