There is a really cool and easy function by @aL3xa here but that is for a vector.
I have a matrix, and say column 2, is a variable that I want to chop off outliers and the associated row. There is a package outliers that I would like to use its algorithms, but they seem to be for a vector too. Any suggestions?
thanks