spatpcaCV: Internal function: M-fold Cross-validation

View source: R/RcppExports.R

spatpcaCVR Documentation

Internal function: M-fold Cross-validation

Description

Internal function: M-fold Cross-validation

Usage

spatpcaCV(sxyr, Yr, M, K, tau1r, tau2r, gammar, nkr, maxit, tol, l2r)

Arguments

sxyr

A location matrix

Yr

A data matrix

M

The number of folds for CV

K

The number of estimated eigen-functions

tau1r

A range of tau1

tau2r

A range of tau2

gammar

A range of gamma

nkr

A vector of fold numbers

maxit

A maximum number of iteration

tol

A tolerance rate

l2r

A given tau2

Value

A list of selected parameters


SpatPCA documentation built on Nov. 13, 2023, 5:06 p.m.