cv_lambda_checker: Check if sparsity parameters satisfy input conditions in...

View source: R/OmicsPLS.R

cv_lambda_checkerR Documentation

Check if sparsity parameters satisfy input conditions in cross-validation functions

Description

Check if sparsity parameters satisfy input conditions in cross-validation functions

Usage

cv_lambda_checker(x, y, keepx_seq = NULL, keepy_seq = NULL)

Arguments

x

Should be numeric matrix.

y

Should be numeric matrix.

keepx_seq

Input of crossval_sparsity function.

keepy_seq

Input of crossval_sparsity function.

Details

This function throws an error if sparsity parameters are not valid.


OmicsPLS documentation built on April 3, 2025, 5:25 p.m.