Learn R Programming

fdasrvf (version 2.3.6)

smooth.data: Smooth Functions

Description

This function smooths functions using standard box filter

Usage

smooth.data(f, sparam)

Value

fo smoothed functions

Arguments

f

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

sparam

number of times to run box filter

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

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

Run the code above in your browser using DataLab