I am very new to R, so I apologize for such a basic question. I spent an hour googling this issue, but couldn\'t find a solution.
Say I have some categorical data in
It seems like you want barplot(prop.table(table(animals))):
barplot(prop.table(table(animals)))
However, this is not a histogram.