19 may 2015

Importing spectra from "R" into Win ISI

I wanted to import the Gasoline spectra from the PLS package into Win ISI, so the first thing I have done was to export the Gasoline spectra to a TXT file:

write.table(gasoline$NIR,"c:/gasoline3.txt",sep="\t")

and after that I use the tool Convert from Win ISI to convert the TXT file into a NIR file. It was not so easy, and I have to organize a little bit the TXT file.


The idea is to compare (in next posts) Win ISI tools with the R Chemometric packages.

No hay comentarios:

Publicar un comentario