Skip to content
Prev 315631 / 398503 Next

select rows with identical columns from a data frame

Hello,

Try the following.

complete.cases(f) & apply(f, 1, function(x) all(x == x[1]))


Hope this helps,

Rui Barradas

Em 18-01-2013 20:53, Sam Steingold escreveu: