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 © 2004-2006 [email protected]
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.