Re: [R] best method to format output of frequency table

2009-09-16 Thread esawdust
Perfect, that works well. Thank you for the suggestion. Henrique Dallazuanna wrote: > > Try this: > > as.matrix(table(x)) > > -- View this message in context: http://www.nabble.com/best-method-to-format-output-of-frequency-table-tp25462448p25472239.html Sent from the R help mailing lis

Re: [R] best method to format output of frequency table

2009-09-16 Thread Henrique Dallazuanna
Try this: as.matrix(table(x)) On Tue, Sep 15, 2009 at 6:50 PM, esawdust wrote: > > I have some security alert log data that I'm parsing and doing some stats on. > One of the fields is the "Classtype" which is the enumerated value of the > type of alert found. > > classtypes = factor( alerts$Cla