[R] The way giving the suitable data structure to the obtained data for the use of "prospectr"

2019-09-19 Thread rhotuser
Dear Sir,     I want to use the "prospectr" for the obtained spectra like the attached file, "Nirspectra".   However, my understanding level of the data structure of "NIRsoil" is not yet enough.   reference:  https://cran.r-project.org/web/packages/prospectr/vignettes/prospectr-intro.pdf data(NI

[R] structure of NIRsoil

2019-09-09 Thread rhotuser
Dear Sir, After installing prospectr,  > data(NIRsoil)> mode(NIRsoil)[1] "list">  I am a beginner and the structure of “NIRsoil” is complicated. Judging from the explanation of NIRsoil (see below), there are six elements: NT, Ciso, CEC, train, validation, spc. Please tell me how to know the str