Re: [R] Convert Contingency Table to Flat File

2006-10-17 Thread Marc Schwartz
Just a quick update on this thread. The version of expand.dft() that I posted earlier has a bug in it. This is the result of the use of lapply() and the evaluation of the additional arguments passed to type.convert(). I noted this when testing the function on the UCBAdmissions data set, which is

Re: [R] Convert Contingency Table to Flat File

2006-10-17 Thread Marc Schwartz
On Tue, 2006-10-17 at 13:09 +0200, Philipp Pagel wrote: > On Tue, Oct 17, 2006 at 03:08:49AM -0700, Marco LO wrote: > > Is there any R function out there to turn a multi-way contingency > > table back to a flat file table of individual rows and attribute > > columns.? > > Are you looking for

Re: [R] Convert Contingency Table to Flat File

2006-10-17 Thread Philipp Pagel
On Tue, Oct 17, 2006 at 03:08:49AM -0700, Marco LO wrote: > Is there any R function out there to turn a multi-way contingency > table back to a flat file table of individual rows and attribute > columns.? Are you looking for something like this? # generate some data x = sample(c(0,1), 100,

[R] Convert Contingency Table to Flat File

2006-10-17 Thread Marco LO
Hello All, Is there any R function out there to turn a multi-way contingency table back to a flat file table of individual rows and attribute columns.? Thanks! marco - [[alternative HTML version deleted]] __