Learn R Programming

fdapace (version 0.1.1)

FPCAder: Take derivative of an FPCA object

Description

Take derivative of an FPCA object

Usage

FPCAder(fpcaObj, derOptns = list(p = 1))

Arguments

fpcaObj
A object of class FPCA returned by the function FPCA().
derOptns
A list of options to control the derivation parameters specified by list(name=value). See `Details'. (default = NULL)

Details

Available derivation control options are [object Object],[object Object],[object Object]

Examples

Run this code
set.seed(1)
n <- 20
pts <- seq(0, 1, by=0.05)
sampWiener <- Wiener(n, pts)
sampWiener <- Sparsify(sampWiener, pts, 10)
res <- FPCA(sampWiener$yList, sampWiener$tList, 
            list(dataType='Sparse', error=FALSE, kernel='epan', verbose=TRUE))
derRes <- FPCAder(res)

Run the code above in your browser using DataLab