I am trying to plot the frequencies of different journals in a list of research papers I fetched. Each row in my data frame corresponds to a paper, for which I have the associated journal.
I did the following to plot the levels (bins) in a histogram:
journal = main$Publication.Journal
tb <- table(journal)
barplot(tb[order(tb, decreasing=T)])
axis(2,at=seq(0, 12, 1), lab=seq(0, 12, 1))
Only problem is, I want to cut out from the graph (or table itself) the journals with a frequency of 1, since I am trying to observe only the most frequent journals (hence the ordered barplot). Any insight on how I can do this?
Many thanks! Nathanael