Learn R Programming

ReMFPCA (version 2.0.0)

pen_fun: Penalty Function

Description

Calculate the penalty matrix for `mvmfd` objects.

Usage

pen_fun(data, devorder = 2, type)

Value

The penalty matrix.

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.