Hi there, I have a relatively simple question, though, I couldn't find a solution for it so far. I have a table with 1000 entries and columns containing information about different parameters for each entry. What I want to do is group all parameters from one of the columns [e.g. if all 1000 entries are grouped in 30 different categories (described as character strings) in a second column] and have a pie chart describing the distribution of all 1000 entries into these 30 categories. The problem I have is to make R count how many times each of the 30 categories is present in the table; then if I have them counted (e.g. if I have category1 - 234 times, category2 - 356 times, etc. in a vector/table) the rest will be easier.
Thanx for the help in advance! Best, Miro -- View this message in context: http://www.nabble.com/Count-data-categories-from-table-tp24531524p24531524.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.