thresh_n {OmicsPLS}R Documentation

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)

Arguments

x

Numerical vector

keepx

How many non-zero

Value

Soft-thresholded vector


[Package OmicsPLS version 2.0.2 Index]