Hi, 1) I have noticed that when I use the aggregate function it outputs numbers in the results. for example: aggregate by product
group.1 Aggregate 1 ProductA 1000400.00 2 ProductB 23232323.00 3 Missing 232323.00 is there a way to suppress the numbers infront of aggregate outputs. I checked and they don't look like columns when I do a summary so I can't -1 them away. 2) is there an easy way to then take my aggregate matrix and then format the sum wtih $ and commas. for e.g instead 10000 it should show $10,000.00? I am trying to create a report and am piping the aggregate into an xtable and feeding it R2html. thanks Dhruv ------------------------------------------------------------ Medical Billing and Coding Training ools. http://tagline.excite.com/fc/JkJQPTgMxYL8ba16zHPqHis4q6x4p3rbpaGcEAQIui8YyxCoQBNUxa/ [[alternative HTML version deleted]] ______________________________________________ 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.