Description Usage Arguments Value Author(s)

For internal use only!.

1 2 3 4 5 6 7 8 9 | ```
get_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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.