Thanks for your reply David. I didn't realize I could change the title of my post! Haha. I rather like the example because Table 1 actually appears in Cameron and Trivedi (potential error and all!).
aperm is not the issue. I am not sure why you get different output, it should be the case. Other ideas? -- View this message in context: http://r.789695.n4.nabble.com/possible-bug-in-aggregate-tp3539421p3541946.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.