MortSmooth.BcoefB {MortalitySmooth}R Documentation

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.

Details

Internal function used for compution elements within the Mort2Dsmooth function.

Value

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

Author(s)

Carlo G Camarda

See Also

Mort2Dsmooth, Mort2Dsmooth.estimate.


[Package MortalitySmooth version 1.0 Index]