| thresh_n_gr {OmicsPLS} | R Documentation | 
Soft threshholding a vector with respect to a number of groups
Description
Soft threshholding a vector with respect to a number of groups
Usage
thresh_n_gr(w, keep_gr, index_gr)
Arguments
w | 
 Numerical loading vector  | 
keep_gr | 
 How many groups to retain  | 
index_gr | 
 List of index and size. index are the index of variables belongs to the group in the original vector, size is the group size  | 
Value
A list containing sparse loading vector and names of the selected groups
[Package OmicsPLS version 2.0.2 Index]