Learn R Programming

OmicsPLS (version 2.1.0)

thresh_n: Soft threshholding a vector with respect to a number of variables

Description

Soft threshholding a vector with respect to a number of variables

Usage

thresh_n(x, keepx)

Value

Soft-thresholded vector

Arguments

x

Numerical vector

keepx

How many non-zero