spatmcacv_rcpp: Internal function: M-fold Cross-validation of SpatMCA

View source: R/RcppExports.R

spatmcacv_rcppR Documentation

Internal function: M-fold Cross-validation of SpatMCA

Description

Internal function: M-fold Cross-validation of SpatMCA

Usage

spatmcacv_rcpp(
  sxr,
  syr,
  Xr,
  Yr,
  M,
  K,
  tau1ur,
  tau2ur,
  tau1vr,
  tau2vr,
  nkr,
  maxit,
  tol,
  l2ur,
  l2vr
)

Arguments

sxr

A location matrix for a variable Y

Yr

A data matrix of X

M

A number of folds

K

The number of estimated eigenfunctions

tau1ur

A range of tau1u

tau2ur

A range of tau2u

tau1vr

A range of tau1v

tau2vr

A range of tau2v

nkr

A vector of fold numbers

maxit

A maximum number of iteration

tol

A tolerance rate

l2ur

A given tau2u

l2vr

A given tau2v

Value

A list of selected parameters


SpatMCA documentation built on Nov. 21, 2023, 5:07 p.m.