get_local_pls_weights | R Documentation |
For internal use only!.
get_local_pls_weights(projection_mat,
xloadings,
coefficients,
new_x,
min_component,
max_component,
scale,
Xcenter,
Xscale)
projection_mat |
the projection matrix generated either by the |
xloadings |
. |
coefficients |
the matrix of regression coefficients. |
new_x |
a matrix of one new spectra to be predicted. |
min_component |
an integer indicating the minimum number of pls components. |
max_component |
an integer indicating the maximum number of pls components. |
scale |
a logical indicating whether the matrix of predictors used to create the regression model was scaled. |
Xcenter |
a matrix of one row with the values that must be used for centering |
Xscale |
if |
a matrix of one row with the weights for each component between the max. and min. specified.
Leonardo Ramirez-Lopez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.