View source: R/generate_plsr.R
generate_plsr | R Documentation |
This function computes PLSR coefficients and p-values between the rows of the two matrices provided ("left" and "right"). This regression is performed separately for each left item; i.e. in each iteration, a separate PLS regression is performed which explains
generate_plsr(left, right, p_val_threshold = 1e-04, verbose = FALSE)
left |
Matrix of left objects |
right |
Matrix of right objects |
p_val_threshold |
Threshold for significant p-values in PLSR. |
verbose |
Whether to print output. |
The maximum number of components for PLSR is the number of columns in the right matrix or the number of rows minus one, whichever is less.
A list containing the following named values: p_list - A list containing left-right pairs with significant values (above p_val_threshold) non_p_list - A list containing left-right pairs with non-significant values comp - the maximum number of PLS components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.