Learn R Programming

SpatPCA (version 1.3.5)

setNumberEigenfunctions: Internal function: Set the number of eigenfunctions for a spatpca object

Description

Internal function: Set the number of eigenfunctions for a spatpca object

Usage

setNumberEigenfunctions(K, Y, M)

Value

integer

Arguments

K

Optional user-supplied number of eigenfunctions.

Y

Data matrix

M

Number of folds for cross-validation