spatpcaCV: Internal function: M-fold Cross-validation

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Internal function: M-fold Cross-validation

Usage

1
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 Jan. 31, 2021, 5:05 p.m.