[R] select rows with identical columns from a data frame
gunter.berton at gene.com
Sun Jan 20 07:26:46 CET 2013
But David W. and Bill Dunlap gave you solutions that also work and are
much faster, no?!
On Sat, Jan 19, 2013 at 9:41 PM, Sam Steingold <sds at gnu.org> wrote:
>> * Rui Barradas <ehvconeenqnf at fncb.cg> [2013-01-18 21:02:20 +0000]:
>> Try the following.
>> complete.cases(f) & apply(f, 1, function(x) all(x == x))
> thanks, this works, but is horribly slow (dim(f) is 766,950x2)
> Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
> http://www.childpsy.net/ http://truepeace.org http://palestinefacts.org
> http://thereligionofpeace.com http://honestreporting.com http://ffii.org
> usually: can't pay ==> don't buy. software: can't buy ==> don't pay
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Genentech Nonclinical Biostatistics
Internal Contact Info:
More information about the R-help