CreateScreePlot: Create the scree plot for the fitted eigenvalues

Description Usage Arguments Examples

View source: R/CreateScreePlot.R

Description

This function will open a new device if not instructed otherwise.

Usage

1
CreateScreePlot(fpcaObj, ...)

Arguments

fpcaObj

A object of class FPCA returned by the function FPCA().

...

Additional arguments for the 'plot' function.

Examples

1
2
3
4
5
6
7
8
set.seed(1)
n <- 20
pts <- seq(0, 1, by=0.05)
sampWiener <- Wiener(n, pts)
sampWiener <- Sparsify(sampWiener, pts, 10)
res <- FPCA(sampWiener$Ly, sampWiener$Lt, 
            list(dataType='Sparse', error=FALSE, kernel='epan', verbose=TRUE))
CreateScreePlot(res)

Example output

Median of niis no more than 20! No binning is performed!

At most 28 number of PC can be selected, thresholded by `maxK` = 18. 

fdapace documentation built on May 24, 2021, 9:06 a.m.