lambda_checker: Check if penalization parameters satisfy input conditions
Description
Check if penalization parameters satisfy input conditions
Usage
lambda_checker(x, y, keepx, keepy, n)
Arguments
- x
Should be numeric matrix.
- y
Should be numeric matrix.
- keepx
Input of o2m
function.
- keepy
Input of o2m
function.
- n
Number of joint components.
Details
This function throws an error if lambda is not within the range.