13 abr. 2015

Using "Identify" function to check extreme variable weights

With the identify function we can check which wavelengths have more weights in the loadings.
Here I plot the first four loadings after calculating the PCs, using the "gasoline" data from the package "ChemometricsWithR".
This is the code to identify the weights in the case of the first one:
       +xlab="wavelength",ylab="log 1/R",
       +main="loading nº1")


No hay comentarios:

Publicar un comentario