Kfun: Functional linear kernel

Description Usage Arguments Value Examples

View source: R/kernFunct.R

Description

Functional linear kernel

Usage

1
Kfun(data, domain, cos.norm = FALSE)

Arguments

data

Output of lsq()

domain

Domain

cos.norm

If TRUE, perform cosine normalization

Value

A kernel matrix

Examples

1
2
3
4
growth2 <- growth
colnames(growth2) <-  c( "time", "height")
fitted <- lsq(data=growth2,degree=2)
Kfun(fitted,domain=c(1,18))

Yuliaxis/kernInt documentation built on Feb. 20, 2022, 12:38 a.m.