The function extracts the functional principal components from a data.frame containing functional features. Uses stats::prcomp.

extractFDAFPCA(rank. = NULL, center = TRUE, scale. = FALSE)

Arguments

rank.

(integer(1))
Number of principal components to extract. Default is NULL

center

(logical(1))
Should data be centered before applying PCA?

scale.

(logical(1))
Should data be scaled before applying PCA?

Value

(data.frame).

See also