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

Lwls1D

One dimensional local linear kernel smoother


Description

One dimensional local linear kernel smoother for longitudinal data.

Usage

Lwls1D(
  bw,
  kernel_type,
  win = rep(1L, length(xin)),
  xin,
  yin,
  xout,
  npoly = 1L,
  nder = 0L
)

Arguments

bw

Scalar holding the bandwidth

kernel_type

Character holding the kernel type (see ?FPCA for supported kernels)

win

Vector of length N with weights

xin

Vector of length N with measurement points

yin

Vector of length N with measurement values

xout

Vector of length M with output measurement points

npoly

Scalar (integer) degree of polynomial fitted (default 1)

nder

Scalar (integer) degree of derivative fitted (default 0)

Value

Vector of length M with measurement values at the the point specified by 'xout'


fdapace

Functional Data Analysis and Empirical Dynamics

v0.5.6
BSD_3_clause + file LICENSE
Authors
Cody Carroll [aut, cre] (<https://orcid.org/0000-0003-3525-8653>), Alvaro Gajardo [aut], Yaqing Chen [aut], Xiongtao Dai [aut], Jianing Fan [aut], Pantelis Z. Hadjipantelis [aut], Kyunghee Han [aut], Hao Ji [aut], Shu-Chin Lin [ctb], Paromita Dubey [ctb], Hans-Georg Mueller [cph, ths, aut], Jane-Ling Wang [cph, ths, aut]
Initial release
2021-01-10,

We don't support your browser anymore

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