pen_fun {ReMFPCA}R Documentation

Penalty Function

Description

Calculate the penalty matrix for 'mvmfd' objects.

Usage

pen_fun(data, devorder = 2, type)

Arguments

data

an object of class 'mvmfd'.

devorder

The order of the derivative.

type

The type of penalty. The types "coefpen" and "basispen" is supported.

Value

The penalty matrix.


[Package ReMFPCA version 1.0.0 Index]