Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Remove Columns



> names(ds)                              # List the column names
> ds$fred <- NULL                        # Removes the column
> ds <- subset(ds, select=-c(tom, jerry) # Remove multiple columns



Copyright © Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010