Relative Content

Tag Archive for rstatisticspredictpls

Can I restrict the predicted values in Partial Least Squares -model?

I’m using the r-package pls, and I want to use the Partial Least Squares method to create a prediction of my data. The input I’m using is land cover percentage (bare soil cover-%, “soil”) as the predictor variable, and its spectra as the response variable (“train”, a 70 % subset of my whole data). The rest of the dataset in a subset called “test”.