GoreLab / waves

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

Error in TestModelPerformance() when preprocessing = T & output.summary = F #2

Closed jmh579 closed 4 years ago

jmh579 commented 4 years ago

Input:

TestModelPerformance(train.data = input.df, test.data = output.df,
                                num.iterations = 50, preprocessing = T, output.summary = F,
                                wavelengths = 350:2500)

Output:

Preprocessing initiated.
Training models...
Working on method 1 of 13: Raw_data 
Error in results.df$Pretreatment[(starting.row:ending.row), 1] <- methods.list[i] : 
  incorrect number of subscripts on matrix