We have seen in the previous post, how to calculate the correlation spectrum, but other simple way to show how the bands correlate to the constituent of interest is to calculate R^2. This way we remove the negative part of the correlation spectru...

R news and tutorials contributed by (552) R bloggers

(This article was first published on NIR-Quimiometría, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: NIR-Quimiometría. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics...