CreateScreePlot: Create the scree plot for the fitted eigenvalues

View source: R/CreateScreePlot.R

CreateScreePlotR Documentation

Create the scree plot for the fitted eigenvalues

Description

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

Usage

CreateScreePlot(fpcaObj, ...)

Arguments

fpcaObj

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

...

Additional arguments for the 'plot' function.

Examples

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)

fdapace documentation built on Aug. 16, 2022, 5:10 p.m.