Closed tristanubaldi closed 1 year ago
Dear Tristan, thanks for your message.
I have just uploaded a new function, 'rastPCA', which perform the PCA on SpatRaster objects from the terra package. I have updated the package and removed the dependency from RStoolbox: it works from my side, does it work for you as well?
Thank you
Daniele
That works perfectly for me, thank you for your help!
princomp
is also now implemented in terra
directly (rspatial/terra#1361)
Hello,
I'm trying to run your Fagus example (by the way, a nice example, thanks for sharing it on GitHub) to compare it with a model I'm working on.
However, to run your PCA, you are using the
rasterPCA
function from theRStoolbox
package but this package is no longer available on CRAN.Maybe you have another function to use to get the same results?
Thank you.