Yes. My error was previously pointed out to me and there was further offlist discussion. Maybe I should have kept it onlist, but I was reticent about displaying my stupidity. :( Mea Culpa.
Cheers, Bert On Thu, Apr 11, 2013 at 9:11 AM, S Ellison <s.elli...@lgcgroup.com> wrote: > > >> -----Original Message----- >> Here's the relevant portion of the as.table Help file: > > But ... is an argument to table(), not to as.table; this part of the help > file is not referring to as.table. > > The first argument to as.table is x, which is an 'arbitrary R object'. > as.table is a generic; it depends on the existence of a method for the object > in question. > > On looking at the code, as.table.default does not include handling for a data > frame; only for tables and for things that are either arrays or numeric. Data > frames are none of those things, so as.table says it can;t handle them. > > The help file doesn't say what as.table doesn't do, perhaps because the list > would be quite long. It would have headed off this post, though, if it > mentioned that the default method accepted only a table, array, or numeric. > > > S Ellison > > ******************************************************************* > This email and any attachments are confidential. Any u...{{dropped:20}} ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.