Re: [R] Remove Columns by Name from zoo object

2008-11-10 Thread Sean Carmody
Perfect, works like a charm. Thanks Gabor. Sean. On Mon, Nov 10, 2008 at 11:35 PM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 12:31 AM, Sean Carmody <[EMAIL PROTECTED]> wrote: >> The tricks for removing columns specified by name from data frames such as >> >> x$mycol <

Re: [R] Remove Columns by Name from zoo object

2008-11-10 Thread Gabor Grothendieck
On Mon, Nov 10, 2008 at 12:31 AM, Sean Carmody <[EMAIL PROTECTED]> wrote: > The tricks for removing columns specified by name from data frames such as > > x$mycol <- NULL That only works for data frames since they are based on lists but not for objects like matrix, ts and zoo which are not based o