Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vec2Lfd

Make a Linear Differential Operator Object from a Vector


Description

A linear differential operator object of order $m$ is constructed from the number in a vector of length $m$.

Usage

vec2Lfd(bwtvec, rangeval=c(0,1))

Arguments

bwtvec

a vector of coefficients to define the linear differential operator object

rangeval

a vector of length 2 specifying the range over which the operator is defined

Value

a linear differential operator object

See Also

Examples

#  define the harmonic acceleration operator used in the
#  analysis of the daily temperature data
Lcoef <- c(0,(2*pi/365)^2,0)
harmaccelLfd <- vec2Lfd(Lcoef, c(0,365))

hmat <- vec2Lfd(matrix(Lcoef, 1), c(0, 365))


all.equal(harmaccelLfd, hmat)

fda

Functional Data Analysis

v5.1.9
GPL (>= 2)
Authors
J. O. Ramsay <ramsay@psych.mcgill.ca> [aut,cre], Spencer Graves <spencer.graves@effectivedefense.org> [ctb], Giles Hooker <gjh27@cornell.edu> [ctb]
Initial release
2020-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.