smooth.data: Smooth Functions

View source: R/smooth.data.R

smooth.dataR Documentation

Smooth Functions

Description

This function smooths functions using standard box filter

Usage

smooth.data(f, sparam)

Arguments

f

matrix (N x M) of M functions with N samples

sparam

number of times to run box filter

Value

fo smoothed functions

References

Srivastava, A., Wu, W., Kurtek, S., Klassen, E., Marron, J. S., May 2011. Registration of functional data using fisher-rao metric, arXiv:1103.3817v2.

Tucker, J. D., Wu, W., Srivastava, A., Generative Models for Function Data using Phase and Amplitude Separation, Computational Statistics and Data Analysis (2012), 10.1016/j.csda.2012.12.001.

Examples

fo <- smooth.data(simu_data$f, 25)

fdasrvf documentation built on Nov. 19, 2023, 1:09 a.m.