[R] Package to remove collinear variables

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Aug 5 17:51:10 CEST 2012



On 05.08.2012 05:27, Roberto wrote:
> Hi,
> I need to remove collinear variables to my Near-Infrared table of spectra.
>
> What package can I use?
>
> Something simple, because I am a novice about statistic.


Remove those where

isTRUE(all.equal(cor(x, y), 1))

is TRUE?

Uwe Ligges


>
> Thank you.
>
> Best regards,
> Roberto
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Package-to-remove-collinear-variables-tp4639200.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list