Skip to content
Prev 276818 / 398513 Next

algorithm that iteratively drops columns of a data-frame

Try

data[,!names(data) %in% names(col_means)]
On Wed, 9 Nov 2011, Martin Batholdy wrote:

            
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                       Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k