frechetMeanCurve: Frechet mean curve of a set of sparsely observed curves on...

View source: R/General.R

frechetMeanCurveR Documentation

Frechet mean curve of a set of sparsely observed curves on the manifold

Description

Frechet mean curve of a set of sparsely observed curves on the manifold

Usage

frechetMeanCurve(
  mfd,
  bw,
  kernel_type,
  xin,
  yin,
  xout,
  npoly = 1L,
  win = rep(1L, length(xin))
)

Arguments

mfd

A class instance that represents the Riemannian manifold. See the manifold package

bw

The bandwidth

kernel_type

The type of kernel for smoothing

xin

A list of n vectors containing the observation time points for each individual corresponding to y. Each vector should be sorted in ascending order.

yin

A list of n matrices containing the observed values for each individual. Missing values specified by NAs are supported for dense case (dataType='dense').

xout

The time points where the mean curve shall be evaluated

npoly

The order of the local polynomial smoother

win

A vector n numbers. The weight of each individual.

Value

A matrix with length(xout) columns. The ith column is the estimated mean curve at xout[i]


CrossD/RFPCA documentation built on Aug. 24, 2023, 4:42 p.m.