[R] Remove Columns by Name from zoo object

From: Sean Carmody <seancarmody_at_gmail.com>
Date: Mon, 10 Nov 2008 16:31:14 +1100

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

x$mycol <- NULL

(and others described here
http://wiki.r-project.org/rwiki/doku.php?id=tips:data-frames:remove_columns_by_name) 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

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.
Received on Mon 10 Nov 2008 - 05:35:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Nov 2008 - 13:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive