smooth.deri.pspline: smooth.deri.pspline

View source: R/emFunctions.r

smooth.deri.psplineR Documentation

smooth.deri.pspline

Description

Function to smooth data and calculate derivative with pspline

Usage

smooth.deri.pspline(x, t, deriv = 0, t.out = t, smethod = 3, norder = 3, ...)

Arguments

x

vector of data

t

time stamp of each point

deriv

order of derivative to calculate

t.out

time stamp of output (default: to be the same as input)

norder

order of spline basis (default: 3)

method

spline fitting method used for "pspline" (default: 3)

Value

a vector of fitted value after smoothing


lch14forever/BEEM documentation built on April 5, 2025, 11:24 p.m.