Wow. That was fast. And it works. Thank you! Laetitia
Am 29.08.2010 um 00:35 schrieb Jorge Ivan Velez: > index <- apply(d, 2, function(x) length(table(x)) > 1) > d[, index] [[alternative HTML version deleted]] ______________________________________________ R-help@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.