GoreLab / waves

R package for Vis-NIR spectral analysis
https://gorelab.github.io/waves/
Other
6 stars 6 forks source link

Random Forest variable importance returns error #7

Closed jmh579 closed 3 years ago

jmh579 commented 3 years ago

Expect error to be present in TrainSpectralModel() related to results returned from randomForest::importance().

Error in `[<-.data.frame`(`*tmp*`, i, , value = c(4.58077485198304, 3.75056303077221,  : 
  replacement has 331 items, need 332