pen_fun: Penalty Function

View source: R/pen_fun.R

pen_funR 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.


ReMFPCA documentation built on April 12, 2025, 9:11 a.m.