Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predict plsreg2 model to project area #7

Open
WesCC opened this issue May 9, 2019 · 1 comment
Open

Predict plsreg2 model to project area #7

WesCC opened this issue May 9, 2019 · 1 comment

Comments

@WesCC
Copy link

WesCC commented May 9, 2019

Hello,

I have used the plsreg2() function to create a model to predict rangeland condition using various remote sensing variables. I have, however, been unable to determine a way to predict the model over my project area. It seems that the predict() function does not exist within the package. Any suggestions on how to predict the model would be highly appreciated.

Thank you and apologies if I am misunderstanding the package use!

@arnabchakrabarty
Copy link

Hi,

I think the predict() function is part of the pls() package and not the plsdepot() package where plsreg2() resides. I am also trying to find a way to use the PLS model from plsreg2 for predicting Y values for new (outside training) data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants