[R] Remove Columns by Name from zoo object

Sean Carmody seancarmody at gmail.com
Mon Nov 10 06:31:14 CET 2008

The tricks for removing columns specified by name from data frames such as

x$mycol <- NULL

(and others described here
do not seem to work for a zoo object. Any suggestions as to how to do
this, or is my best bet to coerce to a data.frame, remove the column
and coerce back to zoo?

Sean Carmody

The Stubborn Mule

More information about the R-help mailing list